mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
revert unrelated linting
This commit is contained in:
@@ -6,10 +6,8 @@ use std::path::PathBuf;
|
||||
use std::process::Command;
|
||||
use std::sync::Once;
|
||||
|
||||
#[allow(dead_code)]
|
||||
static INIT: Once = Once::new();
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[derive(Debug)]
|
||||
pub enum DisplayServer {
|
||||
X11,
|
||||
@@ -17,19 +15,16 @@ pub enum DisplayServer {
|
||||
Unknown,
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub struct LinuxAutomation {
|
||||
display_server: DisplayServer,
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
impl Default for LinuxAutomation {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
impl LinuxAutomation {
|
||||
pub fn new() -> Self {
|
||||
let automation = LinuxAutomation {
|
||||
|
||||
@@ -2,7 +2,6 @@ use super::SystemAutomation;
|
||||
use std::path::PathBuf;
|
||||
use std::process::Command;
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub struct WindowsAutomation;
|
||||
|
||||
impl SystemAutomation for WindowsAutomation {
|
||||
|
||||
Reference in New Issue
Block a user