We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 774eb43 commit c3b642dCopy full SHA for c3b642d
src/cli.rs
@@ -211,10 +211,9 @@ fn readable_pico_error(error: pico::Error) -> Error {
211
format!("'{}' isn't a valid value ({})", value, cause)
212
}
213
Error::OptionWithoutAValue(_) => "missing value".to_string(),
214
- Error::UnusedArgsLeft(left) => format!(
215
- "error, unrecognized arguments: {}",
216
- left.join(", ")
217
- ),
+ Error::UnusedArgsLeft(left) => {
+ format!("error, unrecognized arguments: {}", left.join(", "))
+ }
218
Error::NonUtf8Argument => "not a valid utf8 value".to_string(),
219
})
220
0 commit comments