summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/fs/copy_file_range.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix/src/fs/copy_file_range.rs')
-rw-r--r--vendor/rustix/src/fs/copy_file_range.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/rustix/src/fs/copy_file_range.rs b/vendor/rustix/src/fs/copy_file_range.rs
index b12190472..4b118b30e 100644
--- a/vendor/rustix/src/fs/copy_file_range.rs
+++ b/vendor/rustix/src/fs/copy_file_range.rs
@@ -1,5 +1,5 @@
-use crate::{imp, io};
-use imp::fd::AsFd;
+use crate::{backend, io};
+use backend::fd::AsFd;
/// `copy_file_range(fd_in, off_in, fd_out, off_out, len, 0)`—Copies data
/// from one file to another.
@@ -16,5 +16,5 @@ pub fn copy_file_range<InFd: AsFd, OutFd: AsFd>(
off_out: Option<&mut u64>,
len: u64,
) -> io::Result<u64> {
- imp::fs::syscalls::copy_file_range(fd_in.as_fd(), off_in, fd_out.as_fd(), off_out, len)
+ backend::fs::syscalls::copy_file_range(fd_in.as_fd(), off_in, fd_out.as_fd(), off_out, len)
}