Skip to content

Commit c3b642d

Browse files
committed
another tiny rustfmt for the road
1 parent 774eb43 commit c3b642d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/cli.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,9 @@ fn readable_pico_error(error: pico::Error) -> Error {
211211
format!("'{}' isn't a valid value ({})", value, cause)
212212
}
213213
Error::OptionWithoutAValue(_) => "missing value".to_string(),
214-
Error::UnusedArgsLeft(left) => format!(
215-
"error, unrecognized arguments: {}",
216-
left.join(", ")
217-
),
214+
Error::UnusedArgsLeft(left) => {
215+
format!("error, unrecognized arguments: {}", left.join(", "))
216+
}
218217
Error::NonUtf8Argument => "not a valid utf8 value".to_string(),
219218
})
220219
}

0 commit comments

Comments
 (0)