From 6962808f4b6bfa18312820f710bc57c17980531d Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 18 Nov 2022 12:54:01 -0500 Subject: chore: fix windows-only clippy errors (#16703) --- cli/fs_util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli') 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(()) } -- cgit v1.2.3