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
Dylan-DPC authored Jan 6, 2020
2 parents 6492679 + a852941 commit f725e9f
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 f725e9f

Please sign in to comment.