Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit f865011

Browse files
committed
Remove an unnecessary return keyword.
1 parent 03a5725 commit f865011

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_parse/src/parser

1 file changed

+1
-1
lines changed

compiler/rustc_parse/src/parser/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,7 @@ impl<'a> Parser<'a> {
11721172
}
11731173
i += 1;
11741174
}
1175-
return looker(&token);
1175+
looker(&token)
11761176
}
11771177

11781178
/// Returns whether any of the given keywords are `dist` tokens ahead of the current one.

0 commit comments

Comments
 (0)