We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f9e653 commit 6482ee7Copy full SHA for 6482ee7
src/libstd/net/tcp.rs
@@ -194,7 +194,7 @@ impl TcpStream {
194
/// # Examples
195
///
196
/// ```no_run
197
- /// use std::net::{Ipv4Addr, SocketAddr, SocketAddrV4, TcpStream};
+ /// use std::net::{IpAddr, Ipv4Addr, TcpStream};
198
199
/// let stream = TcpStream::connect("127.0.0.1:8080")
200
/// .expect("Couldn't connect to the server...");
0 commit comments