Skip to content

Commit 3b0ff0d

Browse files
committed
Fix errors on Windows
1 parent d1fffd8 commit 3b0ff0d

File tree

1 file changed

+2
-2
lines changed
  • src/libstd/sys/windows

1 file changed

+2
-2
lines changed

src/libstd/sys/windows/fs.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -768,8 +768,8 @@ fn symlink_junction_inner(target: &Path, junction: &Path) -> io::Result<()> {
768768

769769
unsafe {
770770
let mut data = [0u8; c::MAXIMUM_REPARSE_DATA_BUFFER_SIZE];
771-
let mut db = data.as_mut_ptr()
772-
as *mut c::REPARSE_MOUNTPOINT_DATA_BUFFER;
771+
let db = data.as_mut_ptr()
772+
as *mut c::REPARSE_MOUNTPOINT_DATA_BUFFER;
773773
let buf = &mut (*db).ReparseTarget as *mut _;
774774
let mut i = 0;
775775
// FIXME: this conversion is very hacky

0 commit comments

Comments
 (0)