about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas <abramlujan@gmail.com>2020-11-22 07:02:58 -0300
committerGitHub <noreply@github.com>2020-11-22 07:02:58 -0300
commit7be6d67f825f23916fdc4a7378c49bd7d153f6d1 (patch)
tree237c64f3cda09016e441440eafe4b223458aaca9
parent8ca930aa262c04a898cf64155e40a6de3ec9ba9e (diff)
downloadrust-7be6d67f825f23916fdc4a7378c49bd7d153f6d1.tar.gz
rust-7be6d67f825f23916fdc4a7378c49bd7d153f6d1.zip
Fix typo in doc comment for report_too_many_hashes
"to big" -> "too big"
-rw-r--r--compiler/rustc_parse/src/lexer/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/lexer/mod.rs b/compiler/rustc_parse/src/lexer/mod.rs
index 0dfacd78908..b5b34c7338d 100644
--- a/compiler/rustc_parse/src/lexer/mod.rs
+++ b/compiler/rustc_parse/src/lexer/mod.rs
@@ -510,7 +510,7 @@ impl<'a> StringReader<'a> {
         FatalError.raise()
     }
 
-    /// Note: It was decided to not add a test case, because it would be to big.
+    /// Note: It was decided to not add a test case, because it would be too big.
     /// <https://github.com/rust-lang/rust/pull/50296#issuecomment-392135180>
     fn report_too_many_hashes(&self, start: BytePos, found: usize) -> ! {
         self.fatal_span_(