mirror of
https://github.com/chmln/sd
synced 2024-11-25 04:30:17 +00:00
Fix into_iter() warning
This commit is contained in:
parent
9669815cda
commit
524b270a9e
1 changed files with 1 additions and 1 deletions
2
build.rs
2
build.rs
|
@ -9,7 +9,7 @@ fn main() {
|
||||||
|
|
||||||
fs::create_dir_all(&out_dir).unwrap();
|
fs::create_dir_all(&out_dir).unwrap();
|
||||||
|
|
||||||
Shell::variants().into_iter().for_each(|shell| {
|
Shell::variants().iter().for_each(|shell| {
|
||||||
app.gen_completions("sd", Shell::from_str(shell).unwrap(), &out_dir);
|
app.gen_completions("sd", Shell::from_str(shell).unwrap(), &out_dir);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue