Skip to content

Commit

Permalink
Remove an obsolete comment
Browse files Browse the repository at this point in the history
It was leftover from internal churn during PR nix-rust#1020.
  • Loading branch information
asomers committed Aug 19, 2019
1 parent 19d344b commit de80078
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/sys/socket/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit de80078

Please sign in to comment.