aboutsummaryrefslogtreecommitdiff
path: root/src/args.rs
diff options
context:
space:
mode:
authorzseri <zseri.devel@ytrizja.de>2021-03-27 08:14:31 +0100
committerzseri <zseri.devel@ytrizja.de>2021-03-27 08:14:31 +0100
commitf4c6afe3eb48088fed57fb9fcc4dce44bd505234 (patch)
tree617baa7876ab235938668a313273c64f52fc78a1 /src/args.rs
parent27c119a252c01a621368624a9ab3e8efd9f18faf (diff)
downloadmakers-f4c6afe3eb48088fed57fb9fcc4dce44bd505234.tar.gz
makers-f4c6afe3eb48088fed57fb9fcc4dce44bd505234.zip
boring changes
Diffstat (limited to 'src/args.rs')
-rw-r--r--src/args.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/args.rs b/src/args.rs
index e193294..efc0f11 100644
--- a/src/args.rs
+++ b/src/args.rs
@@ -146,7 +146,7 @@ impl Args {
} else {
env_makeflags
};
- let env_makeflags = env_makeflags.split_whitespace().map(|x| OsString::from(x));
+ let env_makeflags = env_makeflags.split_whitespace().map(OsString::from);
// per the structopt docs, the first argument will be used as the binary name,
// so we need to make sure it goes in before MAKEFLAGS
let arg0 = args.next().unwrap_or_else(|| env!("CARGO_PKG_NAME").into());