Skip to content

Commit e170c78

Browse files
committed
Move the mod pipe to std::net
Signed-off-by: Jiahao XU <[email protected]>
1 parent 42e8beb commit e170c78

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

library/std/src/io/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,6 @@ pub(crate) mod copy;
338338
mod cursor;
339339
mod error;
340340
mod impls;
341-
/// Annoymous pipe implementation
342-
#[unstable(feature = "annoymous_pipe", issue = "127154")]
343-
pub mod pipe;
344341
pub mod prelude;
345342
mod stdio;
346343
mod util;

library/std/src/net/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ mod tcp;
4343
pub(crate) mod test;
4444
mod udp;
4545

46+
/// Annoymous pipe implementation
47+
#[unstable(feature = "annoymous_pipe", issue = "127154")]
48+
pub mod pipe;
49+
4650
/// Possible values which can be passed to the [`TcpStream::shutdown`] method.
4751
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
4852
#[stable(feature = "rust1", since = "1.0.0")]
File renamed without changes.

0 commit comments

Comments
 (0)