Skip to content

Commit

Permalink
Flatten net module again.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Aug 24, 2022
1 parent 89c74e8 commit d61ecec
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 9 deletions.
5 changes: 0 additions & 5 deletions library/std/src/net/addr/mod.rs

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 7 additions & 4 deletions library/std/src/net/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,22 @@
use crate::io::{self, ErrorKind};

#[stable(feature = "rust1", since = "1.0.0")]
pub use self::addr::ip::{IpAddr, Ipv4Addr, Ipv6Addr, Ipv6MulticastScope};
pub use self::ip_addr::{IpAddr, Ipv4Addr, Ipv6Addr, Ipv6MulticastScope};
#[stable(feature = "rust1", since = "1.0.0")]
pub use self::addr::parser::AddrParseError;
pub use self::parser::AddrParseError;
#[stable(feature = "rust1", since = "1.0.0")]
pub use self::addr::socket::{SocketAddr, SocketAddrV4, SocketAddrV6, ToSocketAddrs};
pub use self::socket_addr::{SocketAddr, SocketAddrV4, SocketAddrV6, ToSocketAddrs};
#[unstable(feature = "tcplistener_into_incoming", issue = "88339")]
pub use self::tcp::IntoIncoming;
#[stable(feature = "rust1", since = "1.0.0")]
pub use self::tcp::{Incoming, TcpListener, TcpStream};
#[stable(feature = "rust1", since = "1.0.0")]
pub use self::udp::UdpSocket;

mod addr;
mod display_buffer;
mod ip_addr;
mod parser;
mod socket_addr;
mod tcp;
#[cfg(test)]
mod test;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d61ecec

Please sign in to comment.