remove redundant clones (clippy::redundant_clone)
This commit is contained in:
parent
74ee508427
commit
12a5804fa7
7 changed files with 14 additions and 17 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue