File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ impl std::fmt::Debug for RecvFlags {
290290 dbg. field ( "is_end_of_record" , & self . is_end_of_record ( ) ) ;
291291 #[ cfg( unix) ]
292292 dbg. field ( "is_out_of_band" , & self . is_out_of_band ( ) ) ;
293- dbg. field ( "is_trunctated " , & self . is_trunctated ( ) ) ;
293+ dbg. field ( "is_truncated " , & self . is_trunctated ( ) ) ;
294294 dbg. finish ( )
295295 }
296296}
Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ impl Socket {
266266
267267 /// Identical to [`recv_with_flags`] but reads into a slice of buffers.
268268 ///
269- /// In addition to the number of bytes read, this function return the flags for the received message.
269+ /// In addition to the number of bytes read, this function returns the flags for the received message.
270270 /// See [`RecvFlags`] for more information about the flags.
271271 ///
272272 /// [`recv_with_flags`]: #method.recv_with_flags
@@ -321,7 +321,7 @@ impl Socket {
321321
322322 /// Identical to [`recv_from_with_flags`] but reads into a slice of buffers.
323323 ///
324- /// In addition to the number of bytes read, this function return the flags for the received message.
324+ /// In addition to the number of bytes read, this function returns the flags for the received message.
325325 /// See [`RecvFlags`] for more information about the flags.
326326 ///
327327 /// [`recv_from_with_flags`]: #method.recv_from_with_flags
You can’t perform that action at this time.
0 commit comments