Skip to content

Commit

Permalink
Nuke IoVec
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
  • Loading branch information
SUPERCILEX committed Nov 12, 2022
1 parent 126112c commit 7ab4ba6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/sys/uio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,16 +206,6 @@ impl<'a> IoVec<&'a mut [u8]> {
},
PhantomData,
)
}
}

// The only reason IoVec isn't automatically Send+Sync is because libc::iovec
// contains raw pointers.
#[allow(deprecated)]
unsafe impl<T> Send for IoVec<T> where T: Send {}
#[allow(deprecated)]
unsafe impl<T> Sync for IoVec<T> where T: Sync {}

feature! {
#![feature = "process"]

Expand Down

0 comments on commit 7ab4ba6

Please sign in to comment.