From 1e4f8cadd614a234b56c16aa2b2c67a76e14d1ed Mon Sep 17 00:00:00 2001 From: Ahurac Date: Mon, 15 Apr 2024 14:10:20 +0200 Subject: [PATCH] command : suppression struct `Nothing` --- src/command/mod.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/command/mod.rs b/src/command/mod.rs index 23d2b3a..1c47613 100644 --- a/src/command/mod.rs +++ b/src/command/mod.rs @@ -90,11 +90,3 @@ impl Command for UnixProgram { } } } - -struct Nothing; - -impl Command for Nothing { - fn spawn(&mut self) -> ExitCode { - ExitCode::success() - } -}