From 52ee81296cecf5a7e45c67c3a112075131f8e4c0 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Thu, 30 May 2024 10:43:35 +0200 Subject: [PATCH] xargs: use #[allow(dead_code)] for enum --- src/xargs/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xargs/mod.rs b/src/xargs/mod.rs index 0c420a35..cec62527 100644 --- a/src/xargs/mod.rs +++ b/src/xargs/mod.rs @@ -306,6 +306,7 @@ impl CommandResult { } } +#[allow(dead_code)] // `Killed` variant is never constructed on Windows #[derive(Debug)] enum CommandExecutionError { // exit code 255