diff --git a/src/cli.rs b/src/cli.rs index dbd7ec8be54..bb055bd6112 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -211,10 +211,9 @@ fn readable_pico_error(error: pico::Error) -> Error { format!("'{}' isn't a valid value ({})", value, cause) } Error::OptionWithoutAValue(_) => "missing value".to_string(), - Error::UnusedArgsLeft(left) => format!( - "error, unrecognized arguments: {}", - left.join(", ") - ), + Error::UnusedArgsLeft(left) => { + format!("error, unrecognized arguments: {}", left.join(", ")) + } Error::NonUtf8Argument => "not a valid utf8 value".to_string(), }) }