Clippy ubuntu
Some checks failed
Build / build-win (push) Waiting to run
Build / build-ubuntu (push) Waiting to run
Check frontend / prettier-tsc-eslint-checks (push) Waiting to run
Check backend / rustfmt (push) Has been cancelled
Check backend / clippy (ubuntu-latest) (push) Has been cancelled
Check backend / clippy (windows-latest) (push) Has been cancelled

This commit is contained in:
Thoronium 2024-10-30 16:47:59 -06:00
parent 017c116d81
commit 1a82ab0012

View File

@ -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;