Skip to content

Commit

Permalink
Fix clippy::unnecessary-fallible-conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Jan 2, 2024
1 parent 434bd6b commit d2c7ff9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,7 @@ pub fn execute(options: Options, config: &mut Config) -> CargoResult<i32> {
config.nightly_features_allowed = true;

config.configure(
options
.verbose
.try_into()
.expect("--verbose used too many times"),
options.verbose.into(),
options.quiet,
Some(&options.color.to_string().to_ascii_lowercase()),
options.frozen(),
Expand Down

0 comments on commit d2c7ff9

Please # to comment.