Skip to content

Commit

Permalink
Fix typo in rustc_lexer docs
Browse files Browse the repository at this point in the history
Also add an Oxford comma while we're editing that line.
  • Loading branch information
LingMan authored Sep 21, 2020
1 parent 0f9f0b3 commit fc20b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_lexer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! The idea with `librustc_lexer` is to make a reusable library,
//! by separating out pure lexing and rustc-specific concerns, like spans,
//! error reporting an interning. So, rustc_lexer operates directly on `&str`,
//! error reporting, and interning. So, rustc_lexer operates directly on `&str`,
//! produces simple tokens which are a pair of type-tag and a bit of original text,
//! and does not report errors, instead storing them as flags on the token.
//!
Expand Down

0 comments on commit fc20b78

Please sign in to comment.