tokio: remove prelude (#3299)

Closes: #3257
This commit is contained in:
Alice Ryhl
2020-12-19 11:42:24 -08:00
committed by GitHub
parent e41e6cddbb
commit 78f2340d25
26 changed files with 46 additions and 95 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ A basic TCP echo server with Tokio:
```rust,no_run
use tokio::net::TcpListener;
use tokio::prelude::*;
use tokio::io::{AsyncReadExt, AsyncWriteExt};
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {