aboutsummaryrefslogtreecommitdiff
path: root/src/args.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/args.rs')
-rw-r--r--src/args.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/args.rs b/src/args.rs
index b4e6f84..baddb47 100644
--- a/src/args.rs
+++ b/src/args.rs
@@ -157,9 +157,7 @@ impl Args {
// so we need to make sure it goes in before MAKEFLAGS
let arg_0 = args.next().unwrap_or_else(|| env!("CARGO_PKG_NAME").into());
- let args = iter::once(arg_0)
- .chain(env_makeflags.into_iter())
- .chain(args);
+ let args = iter::once(arg_0).chain(env_makeflags).chain(args);
Self::parse_from(args)
}