Fix into_iter() warning

This commit is contained in:
Greg 2019-12-09 13:59:48 -05:00
parent 9669815cda
commit 524b270a9e
No known key found for this signature in database
GPG key ID: 2E44FAEEDC94B1E2

View file

@ -9,7 +9,7 @@ fn main() {
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);
});