diff --git a/src/uu/split/src/split.rs b/src/uu/split/src/split.rs index 8f6821de1..f1be0c47d 100644 --- a/src/uu/split/src/split.rs +++ b/src/uu/split/src/split.rs @@ -368,7 +368,7 @@ impl Strategy { error: fn(ParseSizeError) -> StrategyError, ) -> Result { let s = matches.get_one::(option).unwrap(); - let n = parse_size(&s).map_err(error)?; + let n = parse_size(s).map_err(error)?; if n > 0 { Ok(strategy(n)) } else {