File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ impl SockAddr {
99
99
///
100
100
/// let socket = Socket::new(Domain::IPV4, Type::STREAM, None)?;
101
101
///
102
- /// // Initialise a `SocketAddr` byte calling `getsockname(2)`.
102
+ /// // Initialise a `SocketAddr` by calling `getsockname(2)`.
103
103
/// let mut addr_storage = SockAddrStorage::zeroed();
104
104
/// let mut len = addr_storage.size_of();
105
105
///
@@ -157,7 +157,7 @@ impl SockAddr {
157
157
///
158
158
/// let socket = Socket::new(Domain::IPV4, Type::STREAM, None)?;
159
159
///
160
- /// // Initialise a `SocketAddr` byte calling `getsockname(2)`.
160
+ /// // Initialise a `SocketAddr` by calling `getsockname(2)`.
161
161
/// let (_, address) = unsafe {
162
162
/// SockAddr::try_init(|addr_storage, len| {
163
163
/// // The `getsockname(2)` system call will intiliase `storage` for
You can’t perform that action at this time.
0 commit comments