use inline format args (clippy::uninlined_format_args)
This commit is contained in:
parent
1ffd464c21
commit
550f6c8284
5 changed files with 5 additions and 5 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue