diff --git a/src/config.rs b/src/config.rs index 03ea8c2..ac44169 100644 --- a/src/config.rs +++ b/src/config.rs @@ -167,7 +167,7 @@ pub fn load_configuration( "{:?} not found, using {}.toml instead (based on hostname)", local_config, hostname ); - local_config_buf.set_file_name(&format!("{hostname}.toml")); + local_config_buf.set_file_name(format!("{hostname}.toml")); } let local: LocalConfig = filesystem::load_file(local_config_buf.as_path())