diff options
author | Bryant Mairs <bryantmairs@google.com> | 2017-12-15 15:10:11 -0800 |
---|---|---|
committer | Bryant Mairs <bryantmairs@google.com> | 2017-12-20 07:05:04 -0800 |
commit | b93c1adabeb093934263c4f7ed11ac0636de8324 (patch) | |
tree | 6ee400fe84452069dd918cf9efe2803448f8d13f /src/sys/socket/mod.rs | |
parent | 1c9f6c872d0e6e5fcd6a875f484131e1c095cb05 (diff) | |
download | nix-b93c1adabeb093934263c4f7ed11ac0636de8324.zip |
Remove unnecessary references
Diffstat (limited to 'src/sys/socket/mod.rs')
-rw-r--r-- | src/sys/socket/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/socket/mod.rs b/src/sys/socket/mod.rs index 8aa65369..0e446713 100644 --- a/src/sys/socket/mod.rs +++ b/src/sys/socket/mod.rs @@ -407,7 +407,7 @@ impl<'a> Iterator for CmsgIterator<'a> { }, (_, _) => unsafe { Some(ControlMessage::Unknown(UnknownCmsg( - &cmsg, + cmsg, slice::from_raw_parts( cmsg_data.as_ptr() as *const _, len)))) |