Skip to content

Commit 713bb19

Browse files
committed
Add missing pub keywords.
1 parent ca42a1b commit 713bb19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ impl HandleOrNull {
232232
///
233233
/// [here]: https://devblogs.microsoft.com/oldnewthing/20040302-00/?p=40443
234234
#[inline]
235-
unsafe fn from_raw_handle(handle: RawHandle) -> Self {
235+
pub unsafe fn from_raw_handle(handle: RawHandle) -> Self {
236236
Self(OwnedHandle::from_raw_handle(handle))
237237
}
238238
}
@@ -254,7 +254,7 @@ impl HandleOrInvalid {
254254
///
255255
/// [here]: https://devblogs.microsoft.com/oldnewthing/20040302-00/?p=40443
256256
#[inline]
257-
unsafe fn from_raw_handle(handle: RawHandle) -> Self {
257+
pub unsafe fn from_raw_handle(handle: RawHandle) -> Self {
258258
Self(OwnedHandle::from_raw_handle(handle))
259259
}
260260
}

0 commit comments

Comments
 (0)