summaryrefslogtreecommitdiff
path: root/src/sys/socket/mod.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2019-08-19 16:35:30 -0600
committerAlan Somers <asomers@gmail.com>2019-08-29 10:06:04 -0600
commit64e9e8f05c9b0402f31d6316960a214b64c09527 (patch)
tree6fa36cf626e621b7380039f196c3b1acadde14e9 /src/sys/socket/mod.rs
parent060d03d4500ca7d65428235173c27b60326c536c (diff)
downloadnix-64e9e8f05c9b0402f31d6316960a214b64c09527.zip
Remove an obsolete comment
It was leftover from internal churn during PR #1020.
Diffstat (limited to 'src/sys/socket/mod.rs')
-rw-r--r--src/sys/socket/mod.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sys/socket/mod.rs b/src/sys/socket/mod.rs
index 6c67648b..8dc8a5ca 100644
--- a/src/sys/socket/mod.rs
+++ b/src/sys/socket/mod.rs
@@ -540,9 +540,6 @@ impl ControlMessageOwned {
/// specified in the header. Normally, the kernel ensures that this is the
/// case. "Correct" in this case includes correct length, alignment and
/// actual content.
- ///
- /// Returns `None` if the data may be unaligned. In that case use
- /// `ControlMessageOwned::decode_from`.
// Clippy complains about the pointer alignment of `p`, not understanding
// that it's being fed to a function that can handle that.
#[allow(clippy::cast_ptr_alignment)]