Skip to content

Commit 772aa42

Browse files
koutecarllerche
authored andcommitted
Make sockaddr_storage_to_addr public.
1 parent e63e699 commit 772aa42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/socket/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ pub fn getsockname(fd: Fd) -> NixResult<SockAddr> {
330330
}
331331
}
332332

333-
unsafe fn sockaddr_storage_to_addr(
333+
pub unsafe fn sockaddr_storage_to_addr(
334334
addr: &sockaddr_storage,
335335
len: usize) -> NixResult<SockAddr> {
336336

0 commit comments

Comments
 (0)