diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-01-15 20:32:59 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-01-15 20:32:59 -0500 |
commit | b66e1f99c30625988ec489f278e449a840bb3754 (patch) | |
tree | aeee0f0774bb8d2f6c1a59292b58f6f3ddb8f6d8 | |
parent | 1456e2e61f8fd666d941bc4c9744287073405c30 (diff) | |
download | nbsh-b66e1f99c30625988ec489f278e449a840bb3754.tar.gz nbsh-b66e1f99c30625988ec489f278e449a840bb3754.zip |
simplify
-rw-r--r-- | src/parse/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/ast.rs b/src/parse/ast.rs index 207a786..88ae734 100644 --- a/src/parse/ast.rs +++ b/src/parse/ast.rs @@ -128,7 +128,7 @@ impl Exe { .args .into_iter() .map(|arg| arg.eval(env).map(IntoIterator::into_iter)) - .collect::<Result<Vec<std::vec::IntoIter<_>>, _>>()? + .collect::<Result<Vec<_>, _>>()? .into_iter() .flatten() .collect(), |