mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-16 12:52:24 +02:00
removed some unneccassary clone() calls
This commit is contained in:
@@ -32,14 +32,14 @@ pub(crate) fn process_group_watch(cfg: &Config, target_name: &str, pl: &Playlist
|
||||
}
|
||||
}
|
||||
None => {
|
||||
error!("failed to load watch_file {}", &path.into_os_string().into_string().unwrap());
|
||||
error!("failed to load watch_file {}", &path.to_str().unwrap());
|
||||
}
|
||||
}
|
||||
}
|
||||
match save_tree(&save_path, new_tree) {
|
||||
Ok(_) => {}
|
||||
Err(err) => {
|
||||
error!("failed to write watch_file {}: {}", &save_path.into_os_string().into_string().unwrap(), err)
|
||||
error!("failed to write watch_file {}: {}", &save_path.to_str().unwrap(), err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user