From 64e9e8f05c9b0402f31d6316960a214b64c09527 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Mon, 19 Aug 2019 16:35:30 -0600 Subject: Remove an obsolete comment It was leftover from internal churn during PR #1020. --- src/sys/socket/mod.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/sys/socket') 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)] -- cgit v1.2.3