Skip to content

Commit

Permalink
Clippy ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
NotThorny committed Oct 30, 2024
1 parent 017c116 commit 1a82ab0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src-tauri/src/system_helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 1a82ab0

Please sign in to comment.