format: formatting

This commit is contained in:
Michael Debertol 2021-06-25 19:35:33 +02:00
parent 548a895cd6
commit 004b5d1b38

View file

@ -79,7 +79,7 @@ fn parse_suffix(s: &str) -> Result<(f64, Option<Suffix>)> {
Some('Y') => Some((RawSuffix::Y, with_i)),
Some('0'..='9') => None,
_ => return Err(format!("invalid suffix in input: '{}'", s)),
};
};
let suffix_len = match suffix {
None => 0,