summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/fs/sendfile.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix/src/fs/sendfile.rs')
-rw-r--r--vendor/rustix/src/fs/sendfile.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/rustix/src/fs/sendfile.rs b/vendor/rustix/src/fs/sendfile.rs
index a4d8c24d4..472ad37b2 100644
--- a/vendor/rustix/src/fs/sendfile.rs
+++ b/vendor/rustix/src/fs/sendfile.rs
@@ -1,5 +1,5 @@
-use crate::{imp, io};
-use imp::fd::AsFd;
+use crate::{backend, io};
+use backend::fd::AsFd;
/// `sendfile(out_fd, in_fd, offset, count)`
///
@@ -15,5 +15,5 @@ pub fn sendfile<OutFd: AsFd, InFd: AsFd>(
offset: Option<&mut u64>,
count: usize,
) -> io::Result<usize> {
- imp::fs::syscalls::sendfile(out_fd.as_fd(), in_fd.as_fd(), offset, count)
+ backend::fs::syscalls::sendfile(out_fd.as_fd(), in_fd.as_fd(), offset, count)
}