summaryrefslogtreecommitdiffstats
path: root/tokio/tests/tcp_echo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/tests/tcp_echo.rs')
-rw-r--r--tokio/tests/tcp_echo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/tests/tcp_echo.rs b/tokio/tests/tcp_echo.rs
index 1feba63e..d9cb456f 100644
--- a/tokio/tests/tcp_echo.rs
+++ b/tokio/tests/tcp_echo.rs
@@ -12,7 +12,7 @@ async fn echo_server() {
let (tx, rx) = oneshot::channel();
- let mut srv = assert_ok!(TcpListener::bind("127.0.0.1:0").await);
+ let srv = assert_ok!(TcpListener::bind("127.0.0.1:0").await);
let addr = assert_ok!(srv.local_addr());
let msg = "foo bar baz";