Skip to content

Commit 4dca1b7

Browse files
committed
Remove an obsolete comment
It was leftover from internal churn during PR nix-rust#1020.
1 parent 7e1bd6a commit 4dca1b7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/sys/socket/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -540,9 +540,6 @@ impl ControlMessageOwned {
540540
/// specified in the header. Normally, the kernel ensures that this is the
541541
/// case. "Correct" in this case includes correct length, alignment and
542542
/// actual content.
543-
///
544-
/// Returns `None` if the data may be unaligned. In that case use
545-
/// `ControlMessageOwned::decode_from`.
546543
// Clippy complains about the pointer alignment of `p`, not understanding
547544
// that it's being fed to a function that can handle that.
548545
#[allow(clippy::cast_ptr_alignment)]

0 commit comments

Comments
 (0)