We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e7d167 commit 78309edCopy full SHA for 78309ed
src/file/imp/windows.rs
@@ -31,7 +31,7 @@ fn delete_open_file(f: &File) -> io::Result<()> {
31
Flags: FILE_DISPOSITION_FLAG_DELETE | FILE_DISPOSITION_FLAG_POSIX_SEMANTICS,
32
};
33
if SetFileInformationByHandle(
34
- f.as_raw_handle(),
+ f.as_raw_handle() as HANDLE,
35
FileDispositionInfoEx,
36
&info as *const _ as *const _,
37
std::mem::size_of::<FILE_DISPOSITION_INFO_EX>() as u32,
0 commit comments