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 7e1bd6a commit 4dca1b7Copy full SHA for 4dca1b7
src/sys/socket/mod.rs
@@ -540,9 +540,6 @@ impl ControlMessageOwned {
540
/// specified in the header. Normally, the kernel ensures that this is the
541
/// case. "Correct" in this case includes correct length, alignment and
542
/// actual content.
543
- ///
544
- /// Returns `None` if the data may be unaligned. In that case use
545
- /// `ControlMessageOwned::decode_from`.
546
// Clippy complains about the pointer alignment of `p`, not understanding
547
// that it's being fed to a function that can handle that.
548
#[allow(clippy::cast_ptr_alignment)]
0 commit comments