diff --git a/src/executor.rs b/src/executor.rs index 5353f60d..4bd813fe 100644 --- a/src/executor.rs +++ b/src/executor.rs @@ -227,6 +227,7 @@ impl DryCommand { /// The Result of spawn. Contains an actual `std::process::Child` if executed by a wet command. pub enum ExecutorChild { + #[allow(unused)] // this type has not been used Wet(Child), Dry, } diff --git a/src/self_renamer.rs b/src/self_renamer.rs index 4a26b672..96669870 100644 --- a/src/self_renamer.rs +++ b/src/self_renamer.rs @@ -1,5 +1,3 @@ -#![cfg(windows)] - use color_eyre::eyre::Result; use std::{env::current_exe, fs, path::PathBuf}; use tracing::{debug, error};