Skip to content

Commit

Permalink
refactor: remove unecessary collect
Browse files Browse the repository at this point in the history
Thanks clippy
  • Loading branch information
Piturnah committed Jul 17, 2023
1 parent 9ba5567 commit f71214d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/minibuffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ impl MiniBuffer {
let mut words = cmd.split_whitespace();
words.next().map(|cmd| {
Command::new(cmd)
.args(words.collect::<Vec<_>>())
.args(words)
.output()
.context("failed to run command")
})
Expand Down

0 comments on commit f71214d

Please sign in to comment.