diff options
| author | LingMan <LingMan@users.noreply.github.com> | 2020-09-21 05:43:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-21 05:43:39 +0200 |
| commit | fc20b7841ccd0efed87ec063b63e35d35fde3544 (patch) | |
| tree | 8ea8037cadcea799ca3cf53644ca2a89d624cc18 | |
| parent | 0f9f0b384a0a3c997c1ea8f838f5591f12f96633 (diff) | |
| download | rust-fc20b7841ccd0efed87ec063b63e35d35fde3544.tar.gz rust-fc20b7841ccd0efed87ec063b63e35d35fde3544.zip | |
Fix typo in rustc_lexer docs
Also add an Oxford comma while we're editing that line.
| -rw-r--r-- | compiler/rustc_lexer/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lexer/src/lib.rs b/compiler/rustc_lexer/src/lib.rs index 44999bbe857..d784a86f14c 100644 --- a/compiler/rustc_lexer/src/lib.rs +++ b/compiler/rustc_lexer/src/lib.rs @@ -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. //! |
