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 {
9999 ///
100100 /// let socket = Socket::new(Domain::IPV4, Type::STREAM, None)?;
101101 ///
102- /// // Initialise a `SocketAddr` byte calling `getsockname(2)`.
102+ /// // Initialise a `SocketAddr` by calling `getsockname(2)`.
103103 /// let mut addr_storage = SockAddrStorage::zeroed();
104104 /// let mut len = addr_storage.size_of();
105105 ///
@@ -157,7 +157,7 @@ impl SockAddr {
157157 ///
158158 /// let socket = Socket::new(Domain::IPV4, Type::STREAM, None)?;
159159 ///
160- /// // Initialise a `SocketAddr` byte calling `getsockname(2)`.
160+ /// // Initialise a `SocketAddr` by calling `getsockname(2)`.
161161 /// let (_, address) = unsafe {
162162 /// SockAddr::try_init(|addr_storage, len| {
163163 /// // The `getsockname(2)` system call will intiliase `storage` for
You can’t perform that action at this time.
0 commit comments