diff --git a/src/lexer.rs b/src/lexer.rs index 76fb93c..1ab9235 100644 --- a/src/lexer.rs +++ b/src/lexer.rs @@ -373,7 +373,7 @@ pub fn lex(input: &str) -> Result { }, _ => { // otherwise, Inch - tokens[token_index] = Token::Unit(InchOfMercury); + tokens[token_index] = Token::Unit(Inch); }, } },