diff --git a/src/config.rs b/src/config.rs index 0a6e82b..b1ffbc7 100644 --- a/src/config.rs +++ b/src/config.rs @@ -7,14 +7,12 @@ use config_ctdra::get_config as get_cached_config; use serde::{Deserialize, Serialize}; /// Hauptkonfigurationsstruktur der Anwendung. -#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] -#[derive(Default)] +#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Default)] pub struct AppConfig { /// Allgemeine Einstellungen pub general: General, } - /// Allgemeine Konfigurationseinstellungen. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct General { diff --git a/src/updater.rs b/src/updater.rs index 84b4911..f227617 100644 --- a/src/updater.rs +++ b/src/updater.rs @@ -116,9 +116,9 @@ pub fn run_compose_command(dir: &Path, args: &[&str]) -> std::io::Result .current_dir(dir) .args(args) .output() - { - return Ok(fallback_out); - } + { + return Ok(fallback_out); + } Ok(out) } Err(err) if err.kind() == std::io::ErrorKind::NotFound => {