From de8007889559c78b18cb8f285f0a36537128e2d3 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Mon, 19 Aug 2019 16:35:30 -0600 Subject: [PATCH] Remove an obsolete comment It was leftover from internal churn during PR #1020. --- src/sys/socket/mod.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/sys/socket/mod.rs b/src/sys/socket/mod.rs index 6c67648b4a..8dc8a5caff 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)]