1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

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('Y') => Some((RawSuffix::Y, with_i)),
Some('0'..='9') => None, Some('0'..='9') => None,
_ => return Err(format!("invalid suffix in input: '{}'", s)), _ => return Err(format!("invalid suffix in input: '{}'", s)),
}; };
let suffix_len = match suffix { let suffix_len = match suffix {
None => 0, None => 0,