Skip to content

Commit 7ab4ba6

Browse files
committed
Nuke IoVec
Signed-off-by: Alex Saveau <[email protected]>
1 parent 126112c commit 7ab4ba6

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/sys/uio.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -206,16 +206,6 @@ impl<'a> IoVec<&'a mut [u8]> {
206206
},
207207
PhantomData,
208208
)
209-
}
210-
}
211-
212-
// The only reason IoVec isn't automatically Send+Sync is because libc::iovec
213-
// contains raw pointers.
214-
#[allow(deprecated)]
215-
unsafe impl<T> Send for IoVec<T> where T: Send {}
216-
#[allow(deprecated)]
217-
unsafe impl<T> Sync for IoVec<T> where T: Sync {}
218-
219209
feature! {
220210
#![feature = "process"]
221211

0 commit comments

Comments
 (0)