diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-07-31 11:07:50 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-07-31 11:14:39 +1000 |
| commit | f8650114bd73e20416493d7ffc88615f917cd8d7 (patch) | |
| tree | f1938e96b89fca6635d583446309f8c815f578b1 | |
| parent | 03a57254b56886c43464e23b74af484d11374623 (diff) | |
| download | rust-f8650114bd73e20416493d7ffc88615f917cd8d7.tar.gz rust-f8650114bd73e20416493d7ffc88615f917cd8d7.zip | |
Remove an unnecessary `return` keyword.
| -rw-r--r-- | compiler/rustc_parse/src/parser/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/mod.rs b/compiler/rustc_parse/src/parser/mod.rs index 37b4c371c94..738f9914a0b 100644 --- a/compiler/rustc_parse/src/parser/mod.rs +++ b/compiler/rustc_parse/src/parser/mod.rs @@ -1172,7 +1172,7 @@ impl<'a> Parser<'a> { } i += 1; } - return looker(&token); + looker(&token) } /// Returns whether any of the given keywords are `dist` tokens ahead of the current one. |
