diff --git a/crates/tools/src/main.rs b/crates/tools/src/main.rs index cf189bf1c583..8027ff833e2f 100644 --- a/crates/tools/src/main.rs +++ b/crates/tools/src/main.rs @@ -84,7 +84,7 @@ fn fix_path_for_mac() -> Result<()> { [ROOT_DIR, &home_dir] .iter() - .map(|dir| String::from(dir.clone()) + COMMON_APP_PATH) + .map(|dir| String::from(*dir) + COMMON_APP_PATH) .map(PathBuf::from) .filter(|path| path.exists()) .collect()