Skip to content

Commit 102b629

Browse files
committed
Make SocketAddrCRepr::as_ptr a pub(crate)
1 parent 022a89d commit 102b629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/unix/net.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ pub(crate) union SocketAddrCRepr {
7676
}
7777

7878
impl SocketAddrCRepr {
79-
pub fn as_ptr(&self) -> *const libc::sockaddr {
79+
pub(crate) fn as_ptr(&self) -> *const libc::sockaddr {
8080
self as *const _ as *const libc::sockaddr
8181
}
8282
}

0 commit comments

Comments
 (0)