diff options
author | Niyaz Nigmatullin <niyaz.nigmatullin@gmail.com> | 2022-08-20 17:02:29 +0300 |
---|---|---|
committer | Niyaz Nigmatullin <niyaz.nigmatullin@gmail.com> | 2022-08-20 17:02:29 +0300 |
commit | 306272bf60dc218b8dd4cbda4579a4a2a1a95890 (patch) | |
tree | 08122ab83081b8cde97b7d2059fd811e097bbcfa /tests/by-util/test_ls.rs | |
parent | 5b6cd6146b40f5c1391cd812b1b929edd2283994 (diff) |
unix_sockets is deprecated, use std::os::unix::net instead
Diffstat (limited to 'tests/by-util/test_ls.rs')
-rw-r--r-- | tests/by-util/test_ls.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/by-util/test_ls.rs b/tests/by-util/test_ls.rs index a85e25c3b..c1df743ea 100644 --- a/tests/by-util/test_ls.rs +++ b/tests/by-util/test_ls.rs @@ -5,8 +5,6 @@ extern crate libc; extern crate regex; #[cfg(not(windows))] extern crate tempfile; -#[cfg(unix)] -extern crate unix_socket; use self::regex::Regex; use crate::common::util::*; @@ -2037,7 +2035,7 @@ fn test_ls_indicator_style() { // Test sockets. Because the canonical way of making sockets to test is with // TempDir, we need a separate test. { - use self::unix_socket::UnixListener; + use std::os::unix::net::UnixListener; let dir = tempfile::Builder::new() .prefix("unix_socket") |