aboutsummaryrefslogtreecommitdiff
path: root/tests/tcp_into_split.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcp_into_split.rs')
-rw-r--r--tests/tcp_into_split.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcp_into_split.rs b/tests/tcp_into_split.rs
index 86ed461..b4bb2ee 100644
--- a/tests/tcp_into_split.rs
+++ b/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! {