mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2024-11-23 03:49:41 +00:00
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
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:
parent
017c116d81
commit
1a82ab0012
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user