summaryrefslogtreecommitdiff
path: root/src/fcntl.rs
diff options
context:
space:
mode:
authornot_a_seagull <notaseagull048@gmail.com>2022-01-23 11:43:25 -0800
committernot_a_seagull <notaseagull048@gmail.com>2022-04-08 12:39:16 -0700
commit0b58f2977252739629b5175043d705f7fc76ea8d (patch)
treeae028d4613a1c6752fe729e870d4b9ff3c7388b1 /src/fcntl.rs
parentc59a8c8cc6cc6922888d6f33635905f9ea3d3205 (diff)
downloadnix-0b58f2977252739629b5175043d705f7fc76ea8d.zip
Replace the IoVec type with IoSlice and IoSliceMut
Diffstat (limited to 'src/fcntl.rs')
-rw-r--r--src/fcntl.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcntl.rs b/src/fcntl.rs
index 6c713608..fa64c8ea 100644
--- a/src/fcntl.rs
+++ b/src/fcntl.rs
@@ -629,7 +629,7 @@ pub fn tee(fd_in: RawFd, fd_out: RawFd, len: usize, flags: SpliceFFlags) -> Resu
#[cfg(any(target_os = "linux", target_os = "android"))]
pub fn vmsplice(
fd: RawFd,
- iov: &[crate::sys::uio::IoVec<&[u8]>],
+ iov: &[std::io::IoSlice<'_>],
flags: SpliceFFlags
) -> Result<usize>
{