Remove extraneus comma in a match statement
This commit is contained in:
parent
46146ca712
commit
ebff87c733
|
@ -44,7 +44,7 @@ pub fn parse(input: &str) -> Result<Vec<NonMetricQuantity>, ParseError> {
|
||||||
}
|
}
|
||||||
|
|
||||||
match state {
|
match state {
|
||||||
Expect::Number => {},
|
Expect::Number => {}
|
||||||
Expect::Unit => {
|
Expect::Unit => {
|
||||||
return Err(ParseError::ExpectedUnit);
|
return Err(ParseError::ExpectedUnit);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue