From 255e059dab895fa9dffe731dcc0a1a42fb86290e Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Wed, 6 Apr 2022 19:58:45 -0700 Subject: [PATCH] and this time with feeling! I think this really will sort out the win32 build. If not, I'll have to walk over to my windows machine and turn it on. :-p --- pty/src/cmdbuilder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pty/src/cmdbuilder.rs b/pty/src/cmdbuilder.rs index a1a3a78a0..4e2f07823 100644 --- a/pty/src/cmdbuilder.rs +++ b/pty/src/cmdbuilder.rs @@ -445,7 +445,7 @@ impl CommandBuilder { .into(); Ok(exe .into_string() - .unwrap_or_else(|| "%CompSpec%".to_string())) + .unwrap_or_else(|_| "%CompSpec%".to_string())) } pub(crate) fn cmdline(&self) -> anyhow::Result<(Vec, Vec)> {