about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2020-11-22 16:15:12 +0100
committerGitHub <noreply@github.com>2020-11-22 16:15:12 +0100
commit5c982b7ca219dba478a455e0c5e169a0f14b20a8 (patch)
tree54c7a3748efd80bdeb13efc8dd9716a3bddc37e4
parent876024dad5cacaa1525f8cae37a5d4a49cc62829 (diff)
parent7be6d67f825f23916fdc4a7378c49bd7d153f6d1 (diff)
downloadrust-5c982b7ca219dba478a455e0c5e169a0f14b20a8.tar.gz
rust-5c982b7ca219dba478a455e0c5e169a0f14b20a8.zip
Rollup merge of #79292 - nico-abram:master, r=jonas-schievink
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_(