mirror of
https://github.com/uutils/coreutils
synced 2024-09-06 07:54:05 +00:00
format: formatting
This commit is contained in:
parent
548a895cd6
commit
004b5d1b38
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue