We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee02f01 commit 7dd3246Copy full SHA for 7dd3246
library/std/src/os/windows/io/handle.rs
@@ -171,7 +171,7 @@ impl OwnedHandle {
171
// if we passed it a null handle, but we can treat null as a valid
172
// handle which doesn't do any I/O, and allow it to be duplicated.
173
if handle.is_null() {
174
- return unsafe { Ok(Handle::from_raw_handle(handle)) };
+ return unsafe { Ok(Self::from_raw_handle(handle)) };
175
}
176
177
let mut ret = 0 as c::HANDLE;
0 commit comments