We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pub
1 parent ca42a1b commit 713bb19Copy full SHA for 713bb19
library/std/src/os/windows/io/handle.rs
@@ -232,7 +232,7 @@ impl HandleOrNull {
232
///
233
/// [here]: https://devblogs.microsoft.com/oldnewthing/20040302-00/?p=40443
234
#[inline]
235
- unsafe fn from_raw_handle(handle: RawHandle) -> Self {
+ pub unsafe fn from_raw_handle(handle: RawHandle) -> Self {
236
Self(OwnedHandle::from_raw_handle(handle))
237
}
238
@@ -254,7 +254,7 @@ impl HandleOrInvalid {
254
255
256
257
258
259
260
0 commit comments