From 1a82ab00126b8b86d9273eadf556db8d227a921a Mon Sep 17 00:00:00 2001 From: Thoronium <107363768+NotThorny@users.noreply.github.com> Date: Wed, 30 Oct 2024 16:47:59 -0600 Subject: [PATCH] Clippy ubuntu --- src-tauri/src/system_helpers.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src-tauri/src/system_helpers.rs b/src-tauri/src/system_helpers.rs index 3da7a7b..1962a59 100644 --- a/src-tauri/src/system_helpers.rs +++ b/src-tauri/src/system_helpers.rs @@ -44,6 +44,7 @@ fn strcmd(cmd: &Command) -> String { } #[cfg(target_os = "linux")] +#[allow(dead_code)] pub trait AsRoot { fn as_root(&self) -> Self; fn as_root_gui(&self) -> Self; @@ -64,6 +65,7 @@ impl AsRoot for Command { } #[cfg(target_os = "linux")] +#[allow(dead_code)] trait InTerminalEmulator { fn in_terminal(&self) -> Self; fn in_terminal_noclose(&self) -> Self;