about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-05-16 22:24:13 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-05-16 22:24:13 -0700
commite5e722bd3244c927fb672850805c3b3f3bd46e79 (patch)
tree070f755268bac186503197ab705b73fda8ec2c9d
parent5e535eae5c4b70879aefc050a5fe0b8137c07eac (diff)
downloadrust-e5e722bd3244c927fb672850805c3b3f3bd46e79.tar.gz
rust-e5e722bd3244c927fb672850805c3b3f3bd46e79.zip
std: Reexport std::net::tcp::Incoming
This iterator was mistakenly not reexported at the top level, preventing
actually naming the type!

Closes #25519
-rw-r--r--src/libstd/net/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/net/mod.rs b/src/libstd/net/mod.rs
index bff9774bcd0..a79a451305d 100644
--- a/src/libstd/net/mod.rs
+++ b/src/libstd/net/mod.rs
@@ -19,7 +19,7 @@ use sys_common::net as net_imp;
 
 pub use self::ip::{IpAddr, Ipv4Addr, Ipv6Addr, Ipv6MulticastScope};
 pub use self::addr::{SocketAddr, SocketAddrV4, SocketAddrV6, ToSocketAddrs};
-pub use self::tcp::{TcpStream, TcpListener};
+pub use self::tcp::{TcpStream, TcpListener, Incoming};
 pub use self::udp::UdpSocket;
 pub use self::parser::AddrParseError;