Skip to content

Commit c61f4c8

Browse files
author
Stjepan Glavina
authored
Update receiving_messages.md
1 parent c9d8b19 commit c61f4c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/src/tutorial/receiving_messages.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ We need to:
88
3. parse the rest of the lines as a `login: message`
99

1010
```rust
11+
use async_std::io::BufReader;
1112
use async_std::net::TcpStream;
1213

1314
async fn server(addr: impl ToSocketAddrs) -> Result<()> {

0 commit comments

Comments
 (0)