doc: update README.md (#3806)

This commit is contained in:
GITSRC
2021-05-21 09:55:53 +02:00
committed by GitHub
parent 44a070d1b4
commit 5ed84e1cd8
+1 -1
View File
@@ -66,7 +66,7 @@ use tokio::io::{AsyncReadExt, AsyncWriteExt};
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let mut listener = TcpListener::bind("127.0.0.1:8080").await?;
let listener = TcpListener::bind("127.0.0.1:8080").await?;
loop {
let (mut socket, _) = listener.accept().await?;