From 4c663bf9dd16c2c6ee1bbbd2f4cc04584e826ddb Mon Sep 17 00:00:00 2001 From: emma Date: Wed, 14 Feb 2024 22:55:28 -0700 Subject: [PATCH] fop(1): closure fix --- src/fop.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fop.rs b/src/fop.rs index 04eec7e..ba99ae4 100644 --- a/src/fop.rs +++ b/src/fop.rs @@ -93,7 +93,7 @@ fn main() { drop(child_stdin); } - let output = spawned.wait_with_output().unwrap_or_else(|| { + let output = spawned.wait_with_output().unwrap_or_else(|_| { eprintln!("{}: {}: Command has no output.", argv[0], argv[command_arg]