From 456114b327848d6baea3f3493848b654c74f2cc6 Mon Sep 17 00:00:00 2001 From: Tor Erlend Fjelde Date: Fri, 28 Jul 2023 10:56:55 +0100 Subject: [PATCH] formatting --- src/command_config_checkchanneluptodate.rs | 5 ++++- src/config_file.rs | 2 +- src/lib.rs | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/command_config_checkchanneluptodate.rs b/src/command_config_checkchanneluptodate.rs index e2f9f257..97abf9cc 100644 --- a/src/command_config_checkchanneluptodate.rs +++ b/src/command_config_checkchanneluptodate.rs @@ -27,7 +27,10 @@ pub fn run_command_config_checkchanneluptodate( if value_changed { eprintln!("Property 'checkchanneluptodate' set to '{}'", value); } else { - eprintln!("Property 'checkchanneluptodate' is already set to '{}'", value); + eprintln!( + "Property 'checkchanneluptodate' is already set to '{}'", + value + ); } } } diff --git a/src/config_file.rs b/src/config_file.rs index 3673c254..4b65a66e 100644 --- a/src/config_file.rs +++ b/src/config_file.rs @@ -62,7 +62,7 @@ pub struct JuliaupConfigSettings { #[serde( rename = "ShouldCheckChannelUptodate", default = "default_should_check_channel_uptodate", - skip_serializing_if = "is_default", + skip_serializing_if = "is_default" )] pub should_check_channel_uptodate: bool, } diff --git a/src/lib.rs b/src/lib.rs index 8984510c..d8ebef8c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,11 +3,11 @@ use anyhow::Context; pub mod command_add; pub mod command_api; pub mod command_config_backgroundselfupdate; +pub mod command_config_checkchanneluptodate; pub mod command_config_modifypath; pub mod command_config_startupselfupdate; pub mod command_config_symlinks; pub mod command_config_versionsdbupdate; -pub mod command_config_checkchanneluptodate; pub mod command_default; pub mod command_gc; pub mod command_info;