Skip to content

Commit 0113cac

Browse files
authored
Missing module std in example.
1 parent ebbb2bf commit 0113cac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/net/tcp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pub struct TcpStream(net_imp::TcpStream);
7070
/// // ...
7171
/// }
7272
///
73-
/// fn main() -> io::Result<()> {
73+
/// fn main() -> std::io::Result<()> {
7474
/// let listener = TcpListener::bind("127.0.0.1:80")?;
7575
///
7676
/// // accept connections and process them serially

0 commit comments

Comments
 (0)