diff --git a/cranelift/reader/src/lexer.rs b/cranelift/reader/src/lexer.rs index 1d2908a92f..314c1bcf17 100644 --- a/cranelift/reader/src/lexer.rs +++ b/cranelift/reader/src/lexer.rs @@ -267,7 +267,7 @@ impl<'a> Lexer<'a> { Some('+') => { self.next_ch(); if !self.looking_at_numeric() { - // If the next characters won't parse as a number, we return Token::Minus + // If the next characters won't parse as a number, we return Token::Plus return token(Token::Plus, loc); } }