Skip to content

Commit

Permalink
fix clippy warning
Browse files Browse the repository at this point in the history
by issuing `cargo fix --clippy --allow-dirty`:
  • Loading branch information
chmouel committed Jan 18, 2024
1 parent 4008626 commit f874dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ fn main() -> Result<()> {
println!(
"{} {}",
mc.binary.unwrap(),
mc.args.unwrap_or_else(|| vec![]).join(" ")
mc.args.unwrap_or_else(std::vec::Vec::new).join(" ")
);
return Ok(());
}
Expand Down

0 comments on commit f874dc3

Please sign in to comment.