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:
parent
c9d8b197ca
commit
c61f4c8b81
1 changed files with 1 additions and 0 deletions
|
@ -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<()> {
|
||||
|
|
Loading…
Reference in a new issue