summaryrefslogtreecommitdiffstats
path: root/tokio/tests/tcp_into_split.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/tests/tcp_into_split.rs')
-rw-r--r--tokio/tests/tcp_into_split.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/tests/tcp_into_split.rs b/tokio/tests/tcp_into_split.rs
index 86ed4619..b4bb2eeb 100644
--- a/tokio/tests/tcp_into_split.rs
+++ b/tokio/tests/tcp_into_split.rs
@@ -13,7 +13,7 @@ use tokio::try_join;
async fn split() -> Result<()> {
const MSG: &[u8] = b"split";
- let mut listener = TcpListener::bind("127.0.0.1:0").await?;
+ let listener = TcpListener::bind("127.0.0.1:0").await?;
let addr = listener.local_addr()?;
let (stream1, (mut stream2, _)) = try_join! {