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.
1 parent 022a89d commit 102b629Copy full SHA for 102b629
src/sys/unix/net.rs
@@ -76,7 +76,7 @@ pub(crate) union SocketAddrCRepr {
76
}
77
78
impl SocketAddrCRepr {
79
- pub fn as_ptr(&self) -> *const libc::sockaddr {
+ pub(crate) fn as_ptr(&self) -> *const libc::sockaddr {
80
self as *const _ as *const libc::sockaddr
81
82
0 commit comments