From 1926f3b2a72614887592089150de68dc18047389 Mon Sep 17 00:00:00 2001 From: Hosun Zhu Date: Fri, 15 Nov 2019 11:37:13 +0800 Subject: [PATCH] Make ToSocketAddrsFuture available for pub use. If we want to implement ToSocketAddrs for a custom type, the ToSocketAddrsFuture should be pub use. Signed-off-by: Hosun Zhu --- src/net/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/mod.rs b/src/net/mod.rs index 29e430902..071f76ef3 100644 --- a/src/net/mod.rs +++ b/src/net/mod.rs @@ -61,7 +61,7 @@ pub use std::net::Shutdown; pub use std::net::{IpAddr, Ipv4Addr, Ipv6Addr}; pub use std::net::{SocketAddr, SocketAddrV4, SocketAddrV6}; -pub use addr::ToSocketAddrs; +pub use addr::{ToSocketAddrs, ToSocketAddrsFuture}; pub use tcp::{Incoming, TcpListener, TcpStream}; pub use udp::UdpSocket;