remove redundant clones (clippy::redundant_clone)

This commit is contained in:
Daniel Eades 2023-12-10 16:30:53 +00:00
parent 74ee508427
commit 12a5804fa7
7 changed files with 14 additions and 17 deletions

View file

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