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.
2 parents 6492679 + a852941 commit f725e9fCopy full SHA for f725e9f
src/libstd/net/tcp.rs
@@ -63,14 +63,13 @@ pub struct TcpStream(net_imp::TcpStream);
63
/// # Examples
64
///
65
/// ```no_run
66
-/// # use std::io;
67
/// use std::net::{TcpListener, TcpStream};
68
69
/// fn handle_client(stream: TcpStream) {
70
/// // ...
71
/// }
72
73
-/// fn main() -> io::Result<()> {
+/// fn main() -> std::io::Result<()> {
74
/// let listener = TcpListener::bind("127.0.0.1:80")?;
75
76
/// // accept connections and process them serially
0 commit comments