diff --git a/src/librustc_lexer/src/lib.rs b/src/librustc_lexer/src/lib.rs index 969ce9b06e8..25334461a11 100644 --- a/src/librustc_lexer/src/lib.rs +++ b/src/librustc_lexer/src/lib.rs @@ -35,7 +35,7 @@ fn new(kind: TokenKind, len: usize) -> Token { } } -/// Enum represening common lexeme types. +/// Enum representing common lexeme types. #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord)] pub enum TokenKind { // Multi-char tokens: