use inline format args (clippy::uninlined_format_args)

This commit is contained in:
Daniel Eades 2023-12-10 16:34:42 +00:00
parent 1ffd464c21
commit 550f6c8284
5 changed files with 5 additions and 5 deletions

View file

@ -6,7 +6,7 @@ use cosmic_config::{Config, ConfigGet, ConfigSet};
fn test_config(config: Config) {
let _watcher = config
.watch(|config, keys| {
println!("Changed: {:?}", keys);
println!("Changed: {keys:?}");
for key in keys.iter() {
println!(" - {} = {:?}", key, config.get::<ron::Value>(key));
}