Skip to content

Commit

Permalink
another tiny rustfmt for the road
Browse files Browse the repository at this point in the history
  • Loading branch information
lqd committed Sep 19, 2019
1 parent 774eb43 commit c3b642d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
})
}

0 comments on commit c3b642d

Please sign in to comment.