Skip to content

Commit

Permalink
Rollup merge of #79292 - nico-abram:master, r=jonas-schievink
Browse files Browse the repository at this point in the history
Fix typo in doc comment for report_too_many_hashes

"to big" -> "too big"
  • Loading branch information
GuillaumeGomez authored Nov 22, 2020
2 parents 876024d + 7be6d67 commit 5c982b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_parse/src/lexer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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_(
Expand Down

0 comments on commit 5c982b7

Please sign in to comment.