summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-08-28 08:57:37 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-08-31 07:02:50 -0700
commit7a2a8d7d60aa9f12dc44f51e1324573e1bd6f9b2 (patch)
tree02f78dfb172fc3311dde96bdeffafc92cc897950 /src/bootstrap
parent9b9de27101b751415dc6216e51ad4d4d219f6538 (diff)
downloadrust-7a2a8d7d60aa9f12dc44f51e1324573e1bd6f9b2.tar.gz
rust-7a2a8d7d60aa9f12dc44f51e1324573e1bd6f9b2.zip
Update Cargo to 0.23.0 and our lockfile
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/util.rs b/src/bootstrap/util.rs
index 092fb04637b..234d937823f 100644
--- a/src/bootstrap/util.rs
+++ b/src/bootstrap/util.rs
@@ -279,7 +279,7 @@ pub fn symlink_dir(src: &Path, dest: &Path) -> io::Result<()> {
                                 ptr::null_mut());
 
             let mut data = [0u8; MAXIMUM_REPARSE_DATA_BUFFER_SIZE];
-            let mut db = data.as_mut_ptr()
+            let db = data.as_mut_ptr()
                             as *mut REPARSE_MOUNTPOINT_DATA_BUFFER;
             let buf = &mut (*db).ReparseTarget as *mut _;
             let mut i = 0;