Skip to content

Commit

Permalink
fix(fmt): fix rustfmt errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Raven-Book committed Jul 20, 2024
1 parent 55304fb commit 7d593e9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,7 @@ pub(crate) fn resolve_command_options(
);
}
if let Some(alias) = &opt.alias {
let alias = alias
.iter()
.map(leak_borrowed_str)
.collect::<Vec<&str>>();
let alias = alias.iter().map(leak_borrowed_str).collect::<Vec<&str>>();
arg = arg.visible_aliases(alias);
}
if let Some(hidden_alias) = &opt.hidden_alias {
Expand Down

0 comments on commit 7d593e9

Please sign in to comment.