From f4c6afe3eb48088fed57fb9fcc4dce44bd505234 Mon Sep 17 00:00:00 2001 From: zseri Date: Sat, 27 Mar 2021 08:14:31 +0100 Subject: boring changes --- src/args.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/args.rs') 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()); -- cgit v1.2.3