From c56f8f6807e6ffd4c84a20910ceb576781d997ad Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Mon, 3 Sep 2018 17:51:20 -0500 Subject: [PATCH] fix: remove unused 'mut' --- src/cp/cp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cp/cp.rs b/src/cp/cp.rs index 5179e0831..b41f324b4 100644 --- a/src/cp/cp.rs +++ b/src/cp/cp.rs @@ -730,7 +730,7 @@ fn preserve_hardlinks( } #[cfg(windows)] { - let mut stat = mem::uninitialized(); + let stat = mem::uninitialized(); let handle = CreateFile2( src_path.as_ptr() as *const u16, winapi::um::winnt::GENERIC_READ,