mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
Move net::parser
into net::addr
module.
This commit is contained in:
parent
65003fd4e3
commit
a1e4a339ed
@ -1,4 +1,5 @@
|
|||||||
mod display_buffer;
|
mod display_buffer;
|
||||||
|
|
||||||
pub mod ip;
|
pub mod ip;
|
||||||
|
pub mod parser;
|
||||||
pub mod socket;
|
pub mod socket;
|
||||||
|
@ -26,9 +26,9 @@ use crate::io::{self, ErrorKind};
|
|||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub use self::addr::ip::{IpAddr, Ipv4Addr, Ipv6Addr, Ipv6MulticastScope};
|
pub use self::addr::ip::{IpAddr, Ipv4Addr, Ipv6Addr, Ipv6MulticastScope};
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub use self::addr::socket::{SocketAddr, SocketAddrV4, SocketAddrV6, ToSocketAddrs};
|
pub use self::addr::parser::AddrParseError;
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub use self::parser::AddrParseError;
|
pub use self::addr::socket::{SocketAddr, SocketAddrV4, SocketAddrV6, ToSocketAddrs};
|
||||||
#[unstable(feature = "tcplistener_into_incoming", issue = "88339")]
|
#[unstable(feature = "tcplistener_into_incoming", issue = "88339")]
|
||||||
pub use self::tcp::IntoIncoming;
|
pub use self::tcp::IntoIncoming;
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
@ -37,7 +37,6 @@ pub use self::tcp::{Incoming, TcpListener, TcpStream};
|
|||||||
pub use self::udp::UdpSocket;
|
pub use self::udp::UdpSocket;
|
||||||
|
|
||||||
mod addr;
|
mod addr;
|
||||||
mod parser;
|
|
||||||
mod tcp;
|
mod tcp;
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
pub(crate) mod test;
|
pub(crate) mod test;
|
||||||
|
Loading…
Reference in New Issue
Block a user