Skip to content

Commit f725e9f

Browse files
authored
Rollup merge of #67943 - Stromberg90:patch-1, r=jonas-schievink
Missing module std in example.
2 parents 6492679 + a852941 commit f725e9f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libstd/net/tcp.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,13 @@ pub struct TcpStream(net_imp::TcpStream);
6363
/// # Examples
6464
///
6565
/// ```no_run
66-
/// # use std::io;
6766
/// use std::net::{TcpListener, TcpStream};
6867
///
6968
/// fn handle_client(stream: TcpStream) {
7069
/// // ...
7170
/// }
7271
///
73-
/// fn main() -> io::Result<()> {
72+
/// fn main() -> std::io::Result<()> {
7473
/// let listener = TcpListener::bind("127.0.0.1:80")?;
7574
///
7675
/// // accept connections and process them serially

0 commit comments

Comments
 (0)