summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/net/socketpair.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix/src/net/socketpair.rs')
-rw-r--r--vendor/rustix/src/net/socketpair.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/rustix/src/net/socketpair.rs b/vendor/rustix/src/net/socketpair.rs
index 68a58f3e9..4a9568ce7 100644
--- a/vendor/rustix/src/net/socketpair.rs
+++ b/vendor/rustix/src/net/socketpair.rs
@@ -1,6 +1,6 @@
-use crate::imp;
-use crate::io::{self, OwnedFd};
+use crate::fd::OwnedFd;
use crate::net::{AddressFamily, Protocol, SocketFlags, SocketType};
+use crate::{backend, io};
/// `socketpair(domain, type_ | accept_flags, protocol)`
///
@@ -17,5 +17,5 @@ pub fn socketpair(
flags: SocketFlags,
protocol: Protocol,
) -> io::Result<(OwnedFd, OwnedFd)> {
- imp::net::syscalls::socketpair(domain, type_, flags, protocol)
+ backend::net::syscalls::socketpair(domain, type_, flags, protocol)
}