diff options
| author | Frank Steffahn <frank.steffahn@stu.uni-kiel.de> | 2021-08-22 17:27:18 +0200 |
|---|---|---|
| committer | Frank Steffahn <frank.steffahn@stu.uni-kiel.de> | 2021-08-22 17:27:18 +0200 |
| commit | 2396fad0950980cd3bf53bc825cdfa79ec7fd85f (patch) | |
| tree | 2d408c10f8e8430d936cc3c136b8b8189b51a37d /compiler/rustc_lexer/src/lib.rs | |
| parent | b08b92eb42e4f19d95f99da854cf33008a7687b2 (diff) | |
| download | rust-2396fad0950980cd3bf53bc825cdfa79ec7fd85f.tar.gz rust-2396fad0950980cd3bf53bc825cdfa79ec7fd85f.zip | |
Fix more “a”/“an” typos
Diffstat (limited to 'compiler/rustc_lexer/src/lib.rs')
| -rw-r--r-- | compiler/rustc_lexer/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lexer/src/lib.rs b/compiler/rustc_lexer/src/lib.rs index b5e6d256a99..b64a891cb25 100644 --- a/compiler/rustc_lexer/src/lib.rs +++ b/compiler/rustc_lexer/src/lib.rs @@ -489,7 +489,7 @@ impl Cursor<'_> { // Start is already eaten, eat the rest of identifier. self.eat_while(is_id_continue); // Known prefixes must have been handled earlier. So if - // we see a prefix here, it is definitely a unknown prefix. + // we see a prefix here, it is definitely an unknown prefix. match self.first() { '#' | '"' | '\'' => UnknownPrefix, _ => Ident, |
