diff options
Diffstat (limited to 'crates/tools/src')
-rw-r--r-- | crates/tools/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/tools/src/main.rs b/crates/tools/src/main.rs index cf189bf1c..8027ff833 100644 --- a/crates/tools/src/main.rs +++ b/crates/tools/src/main.rs | |||
@@ -84,7 +84,7 @@ fn fix_path_for_mac() -> Result<()> { | |||
84 | 84 | ||
85 | [ROOT_DIR, &home_dir] | 85 | [ROOT_DIR, &home_dir] |
86 | .iter() | 86 | .iter() |
87 | .map(|dir| String::from(dir.clone()) + COMMON_APP_PATH) | 87 | .map(|dir| String::from(*dir) + COMMON_APP_PATH) |
88 | .map(PathBuf::from) | 88 | .map(PathBuf::from) |
89 | .filter(|path| path.exists()) | 89 | .filter(|path| path.exists()) |
90 | .collect() | 90 | .collect() |