Fix clippy::redundant_clone

This commit is contained in:
ice_iix 2021-01-18 17:39:49 -08:00
parent 7ef7c9fadc
commit 77e0d82b6d
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ fn init_config_dir() {
if !path.exists() {
std::fs::create_dir_all(path.clone()).unwrap();
}
std::env::set_current_dir(path.clone()).unwrap();
std::env::set_current_dir(path).unwrap();
}
}