Remove extraneus comma in a match statement

This commit is contained in:
Juhani Krekelä 2023-05-28 23:44:49 +03:00
parent 46146ca712
commit ebff87c733
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ pub fn parse(input: &str) -> Result<Vec<NonMetricQuantity>, ParseError> {
}
match state {
Expect::Number => {},
Expect::Number => {}
Expect::Unit => {
return Err(ParseError::ExpectedUnit);
}