Skip to content

Commit

Permalink
Rollup merge of #67943 - Stromberg90:patch-1, r=jonas-schievink
Browse files Browse the repository at this point in the history
Missing module std in example.
  • Loading branch information
JohnTitor authored Jan 7, 2020
2 parents b065031 + a852941 commit 05797b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libstd/net/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,13 @@ pub struct TcpStream(net_imp::TcpStream);
/// # Examples
///
/// ```no_run
/// # use std::io;
/// use std::net::{TcpListener, TcpStream};
///
/// fn handle_client(stream: TcpStream) {
/// // ...
/// }
///
/// fn main() -> io::Result<()> {
/// fn main() -> std::io::Result<()> {
/// let listener = TcpListener::bind("127.0.0.1:80")?;
///
/// // accept connections and process them serially
Expand Down

0 comments on commit 05797b1

Please sign in to comment.