Skip to content

Commit

Permalink
style: fix linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryooooooga committed Sep 14, 2024
1 parent 4af7306 commit 3ce82d2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/config/os.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ pub struct OsConfig {
}

#[derive(Debug, Deserialize)]
#[allow(dead_code)]
pub struct AlpineOsConfig {
#[serde(default = "default_style")]
pub style: Style,
Expand All @@ -75,6 +76,7 @@ impl Default for AlpineOsConfig {
}

#[derive(Debug, Deserialize)]
#[allow(dead_code)]
pub struct AmazonOsConfig {
#[serde(default = "default_style")]
pub style: Style,
Expand All @@ -99,6 +101,7 @@ impl Default for AmazonOsConfig {
}

#[derive(Debug, Deserialize)]
#[allow(dead_code)]
pub struct ArchOsConfig {
#[serde(default = "default_style")]
pub style: Style,
Expand All @@ -123,6 +126,7 @@ impl Default for ArchOsConfig {
}

#[derive(Debug, Deserialize)]
#[allow(dead_code)]
pub struct CentOSOsConfig {
#[serde(default = "default_style")]
pub style: Style,
Expand All @@ -147,6 +151,7 @@ impl Default for CentOSOsConfig {
}

#[derive(Debug, Deserialize)]
#[allow(dead_code)]
pub struct GentooOsConfig {
#[serde(default = "default_style")]
pub style: Style,
Expand All @@ -171,6 +176,7 @@ impl Default for GentooOsConfig {
}

#[derive(Debug, Deserialize)]
#[allow(dead_code)]
pub struct NixOsConfig {
#[serde(default = "default_style")]
pub style: Style,
Expand All @@ -195,6 +201,7 @@ impl Default for NixOsConfig {
}

#[derive(Debug, Deserialize)]
#[allow(dead_code)]
pub struct RaspbianOsConfig {
#[serde(default = "default_style")]
pub style: Style,
Expand All @@ -219,6 +226,7 @@ impl Default for RaspbianOsConfig {
}

#[derive(Debug, Deserialize)]
#[allow(dead_code)]
pub struct DebianOsConfig {
#[serde(default = "default_style")]
pub style: Style,
Expand All @@ -243,6 +251,7 @@ impl Default for DebianOsConfig {
}

#[derive(Debug, Deserialize)]
#[allow(dead_code)]
pub struct UbuntuOsConfig {
#[serde(default = "default_style")]
pub style: Style,
Expand All @@ -267,6 +276,7 @@ impl Default for UbuntuOsConfig {
}

#[derive(Debug, Deserialize)]
#[allow(dead_code)]
pub struct LinuxOsConfig {
#[serde(default = "default_style")]
pub style: Style,
Expand All @@ -291,6 +301,7 @@ impl Default for LinuxOsConfig {
}

#[derive(Debug, Deserialize)]
#[allow(dead_code)]
pub struct MacOsConfig {
#[serde(default = "default_style")]
pub style: Style,
Expand All @@ -315,6 +326,7 @@ impl Default for MacOsConfig {
}

#[derive(Debug, Deserialize)]
#[allow(dead_code)]
pub struct WindowsOsConfig {
#[serde(default = "default_style")]
pub style: Style,
Expand Down

0 comments on commit 3ce82d2

Please sign in to comment.