Skip to content

Commit

Permalink
style: format code with Rustfmt
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in 1da5b69 according to the output
from Rustfmt.

Details: #653
  • Loading branch information
deepsource-autofix[bot] authored Dec 8, 2024
1 parent 1da5b69 commit 7052646
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/core/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ pub struct BackupSettings {
pub backup_state: String,
}

#[derive(Debug, Serialize, Deserialize, Clone)]
#[derive(Default)]
#[derive(Debug, Serialize, Deserialize, Clone, Default)]
pub struct DeviceSettings {
/// Unique serial identifier
pub device_id: String,
Expand All @@ -52,7 +51,6 @@ impl Default for GeneralSettings {
}
}


#[dynamic]
static CONFIG_FILE: PathBuf = CONFIG_DIR.join("config.toml");

Expand Down

0 comments on commit 7052646

Please sign in to comment.