Skip to content

Commit 7dd3246

Browse files
committed
Fix a compilation error.
1 parent ee02f01 commit 7dd3246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/os/windows/io/handle.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ impl OwnedHandle {
171171
// if we passed it a null handle, but we can treat null as a valid
172172
// handle which doesn't do any I/O, and allow it to be duplicated.
173173
if handle.is_null() {
174-
return unsafe { Ok(Handle::from_raw_handle(handle)) };
174+
return unsafe { Ok(Self::from_raw_handle(handle)) };
175175
}
176176

177177
let mut ret = 0 as c::HANDLE;

0 commit comments

Comments
 (0)