File tree 3 files changed +4
-5
lines changed
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,7 @@ pub mod addrinfo;
19
19
pub mod tcp;
20
20
pub mod udp;
21
21
pub mod ip;
22
- // FIXME(#12093) - this should not be called unix
23
- pub mod unix;
22
+ pub mod pipe;
24
23
25
24
fn to_rtio ( ip : IpAddr ) -> rtio:: IpAddr {
26
25
match ip {
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ impl UnixStream {
46
46
///
47
47
/// ```rust
48
48
/// # #![allow(unused_must_use)]
49
- /// use std::io::net::unix ::UnixStream;
49
+ /// use std::io::net::pipe ::UnixStream;
50
50
///
51
51
/// let server = Path::new("path/to/my/socket");
52
52
/// let mut stream = UnixStream::connect(&server);
@@ -164,7 +164,7 @@ impl UnixListener {
164
164
/// # fn main() {}
165
165
/// # fn foo() {
166
166
/// # #![allow(unused_must_use)]
167
- /// use std::io::net::unix ::UnixListener;
167
+ /// use std::io::net::pipe ::UnixListener;
168
168
/// use std::io::{Listener, Acceptor};
169
169
///
170
170
/// let server = Path::new("/path/to/my/socket");
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ macro_rules! iotest (
34
34
use io:: net:: ip:: * ;
35
35
use io:: net:: udp:: * ;
36
36
#[ cfg( unix) ]
37
- use io:: net:: unix :: * ;
37
+ use io:: net:: pipe :: * ;
38
38
use io:: timer:: * ;
39
39
use io:: process:: * ;
40
40
use rt:: running_on_valgrind;
You can’t perform that action at this time.
0 commit comments