2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-16 10:49:55 +00:00

Update receiving_messages.md

This commit is contained in:
Stjepan Glavina 2019-08-22 23:17:52 +02:00 committed by GitHub
parent c9d8b197ca
commit c61f4c8b81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,7 @@ We need to:
3. parse the rest of the lines as a `login: message`
```rust
use async_std::io::BufReader;
use async_std::net::TcpStream;
async fn server(addr: impl ToSocketAddrs) -> Result<()> {