mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
format: formatting
This commit is contained in:
parent
548a895cd6
commit
004b5d1b38
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue