summaryrefslogtreecommitdiff
path: root/cli/fs_util.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-11-18 12:54:01 -0500
committerGitHub <noreply@github.com>2022-11-18 12:54:01 -0500
commit6962808f4b6bfa18312820f710bc57c17980531d (patch)
treefb8d603e8c82fb3f872b19ee65737a87a68b7f7a /cli/fs_util.rs
parent1e512d10b3b35f4d106a74fcc9edf6610f82c183 (diff)
chore: fix windows-only clippy errors (#16703)
Diffstat (limited to 'cli/fs_util.rs')
-rw-r--r--cli/fs_util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/fs_util.rs b/cli/fs_util.rs
index dbebc75c0..552f4c939 100644
--- a/cli/fs_util.rs
+++ b/cli/fs_util.rs
@@ -456,7 +456,7 @@ pub fn symlink_dir(oldpath: &Path, newpath: &Path) -> Result<(), AnyError> {
#[cfg(not(unix))]
{
use std::os::windows::fs::symlink_dir;
- symlink_dir(&oldpath, &newpath).map_err(err_mapper)?;
+ symlink_dir(oldpath, newpath).map_err(err_mapper)?;
}
Ok(())
}