Skip to content

Commit d8b3fda

Browse files
de-vri-esThomasdezeeuw
authored andcommitted
Fix more typos.
1 parent b5f45a0 commit d8b3fda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ impl RecvFlags {
277277
///
278278
/// On Unix this corresponds to the MSG_TRUNC flag.
279279
/// On Windows this corresponds to the WSAEMSGSIZE error code.
280-
pub fn is_trunctated(self) -> bool {
280+
pub fn is_truncated(self) -> bool {
281281
self.0 & sys::MSG_TRUNC != 0
282282
}
283283
}
@@ -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_truncated", &self.is_trunctated());
293+
dbg.field("is_truncated", &self.is_truncated());
294294
dbg.finish()
295295
}
296296
}

0 commit comments

Comments
 (0)