File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -397,11 +397,13 @@ impl_debug!(
397
397
impl RecvFlags {
398
398
/// Check if the message terminates a record.
399
399
///
400
- /// Not all socket types support the notion of records.
401
- /// For socket types that do support it (such as [`SEQPACKET`][Type::SEQPACKET]),
402
- /// a record is terminated by sending a message with the end-of-record flag set.
400
+ /// Not all socket types support the notion of records. For socket types
401
+ /// that do support it (such as [`SEQPACKET`]), a record is terminated by
402
+ /// sending a message with the end-of-record flag set.
403
403
///
404
404
/// On Unix this corresponds to the MSG_EOR flag.
405
+ ///
406
+ /// [`SEQPACKET`]: Type::SEQPACKET
405
407
pub const fn is_end_of_record ( self ) -> bool {
406
408
self . 0 & libc:: MSG_EOR != 0
407
409
}
You can’t perform that action at this time.
0 commit comments