Skip to content

Commit

Permalink
refactor(cli): Satiate clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Sep 5, 2024
1 parent a270cea commit b66dcc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setup/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ pub fn is_make_gnu() -> Result<bool> {
}

fn regen_dotfiles(repo: Repository) -> Result<()> {
let targets = vec![".editorconfig", ".gitignore", ".luacheckrc", ".luarc.json"];
let targets = [".editorconfig", ".gitignore", ".luacheckrc", ".luarc.json"];
let make_targets: Vec<String> = targets.iter().map(|&x| x.into()).collect();
make::run(make_targets)?;
let mut index = repo.index()?;
Expand Down

0 comments on commit b66dcc3

Please sign in to comment.