We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5f45a0 commit d8b3fdaCopy full SHA for d8b3fda
src/lib.rs
@@ -277,7 +277,7 @@ impl RecvFlags {
277
///
278
/// On Unix this corresponds to the MSG_TRUNC flag.
279
/// On Windows this corresponds to the WSAEMSGSIZE error code.
280
- pub fn is_trunctated(self) -> bool {
+ pub fn is_truncated(self) -> bool {
281
self.0 & sys::MSG_TRUNC != 0
282
}
283
@@ -290,7 +290,7 @@ impl std::fmt::Debug for RecvFlags {
290
dbg.field("is_end_of_record", &self.is_end_of_record());
291
#[cfg(unix)]
292
dbg.field("is_out_of_band", &self.is_out_of_band());
293
- dbg.field("is_truncated", &self.is_trunctated());
+ dbg.field("is_truncated", &self.is_truncated());
294
dbg.finish()
295
296
0 commit comments