summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-01-15 20:32:59 -0500
committerJesse Luehrs <doy@tozt.net>2022-01-15 20:32:59 -0500
commitb66e1f99c30625988ec489f278e449a840bb3754 (patch)
treeaeee0f0774bb8d2f6c1a59292b58f6f3ddb8f6d8
parent1456e2e61f8fd666d941bc4c9744287073405c30 (diff)
downloadnbsh-b66e1f99c30625988ec489f278e449a840bb3754.tar.gz
nbsh-b66e1f99c30625988ec489f278e449a840bb3754.zip
simplify
-rw-r--r--src/parse/ast.rs2
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(),