From 66aec23a0bb45a0bbe53eb7e9f722fd691af483e Mon Sep 17 00:00:00 2001 From: Samrat Man Singh Date: Sat, 14 Mar 2020 18:26:38 +0530 Subject: [PATCH] Fix typo in comment (#1324) --- cranelift/reader/src/lexer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }