aboutsummaryrefslogtreecommitdiff
path: root/crates/tools
diff options
context:
space:
mode:
authorAlan Du <[email protected]>2019-06-03 15:00:51 +0100
committerAlan Du <[email protected]>2019-06-04 08:00:58 +0100
commit354db651dafd24d93cf0f151d63ad5ecb2e716e2 (patch)
tree438f7899143ac7aaa562debb7d3c733ae298f5df /crates/tools
parent573a6bb5c9c61bff42100a8efb576e4ad97425e8 (diff)
Fix clippy::clone_double_ref
Diffstat (limited to 'crates/tools')
-rw-r--r--crates/tools/src/main.rs2
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()