Skip to content

Commit 48fc20c

Browse files
authored
Rollup merge of #76996 - LingMan:patch-1, r=ecstatic-morse
Fix typo in rustc_lexer docs Also add an Oxford comma while we're editing that line.
2 parents 4547ebb + fc20b78 commit 48fc20c

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_lexer/src

1 file changed

+1
-1
lines changed

compiler/rustc_lexer/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//!
33
//! The idea with `librustc_lexer` is to make a reusable library,
44
//! by separating out pure lexing and rustc-specific concerns, like spans,
5-
//! error reporting an interning. So, rustc_lexer operates directly on `&str`,
5+
//! error reporting, and interning. So, rustc_lexer operates directly on `&str`,
66
//! produces simple tokens which are a pair of type-tag and a bit of original text,
77
//! and does not report errors, instead storing them as flags on the token.
88
//!

0 commit comments

Comments
 (0)