diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-09-21 15:13:20 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-09-26 08:28:45 +1000 |
| commit | 14281e614759f6e761a01acaf9dccbd0da4ff1ef (patch) | |
| tree | 96b4cf4d2866d980282b30b9a28b08b70363212b /compiler/rustc_parse/src | |
| parent | 66e9b1149c7fbc1fb8108de72b9da1ec0f35afec (diff) | |
| download | rust-14281e614759f6e761a01acaf9dccbd0da4ff1ef.tar.gz rust-14281e614759f6e761a01acaf9dccbd0da4ff1ef.zip | |
Remove unnecessary `spacing` assignment.
It has no useful effect.
Diffstat (limited to 'compiler/rustc_parse/src')
| -rw-r--r-- | compiler/rustc_parse/src/lexer/mod.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/lexer/mod.rs b/compiler/rustc_parse/src/lexer/mod.rs index 63819a2f98d..394a5b86480 100644 --- a/compiler/rustc_parse/src/lexer/mod.rs +++ b/compiler/rustc_parse/src/lexer/mod.rs @@ -70,7 +70,6 @@ impl<'a> StringReader<'a> { && let Some(shebang_len) = rustc_lexer::strip_shebang(self.src) { self.pos = self.pos + BytePos::from_usize(shebang_len); - spacing = Spacing::Alone; } // Skip trivial (whitespace & comments) tokens |
