Skip to content

Commit 55ca6d7

Browse files
authored
Import size_of
1 parent bf9299b commit 55ca6d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sockaddr.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ impl SockAddrStorage {
5454
/// ```
5555
/// # #[allow(dead_code)]
5656
/// # #[cfg(unix)] mod unix_example {
57+
/// # use core::mem::size_of;
5758
/// use libc::sockaddr_storage;
5859
/// use socket2::{SockAddr, SockAddrStorage, socklen_t};
5960
///

0 commit comments

Comments
 (0)