aboutsummaryrefslogtreecommitdiff
path: root/src/netapp.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-10-12 13:07:34 +0200
committerAlex Auvolat <alex@adnab.me>2021-10-12 13:07:34 +0200
commit7753b789b7aca87db4db7aed20e79a41ecb0b225 (patch)
treef5b67a3d52736eb60d88cdd8772957ada62654fb /src/netapp.rs
parent90f8fb28361cba1087a0e608e8a8deb6abb5bd39 (diff)
downloadnetapp-7753b789b7aca87db4db7aed20e79a41ecb0b225.tar.gz
netapp-7753b789b7aca87db4db7aed20e79a41ecb0b225.zip
Upgrade to tokio 1.0
Diffstat (limited to 'src/netapp.rs')
-rw-r--r--src/netapp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netapp.rs b/src/netapp.rs
index 0ddd447..5847f98 100644
--- a/src/netapp.rs
+++ b/src/netapp.rs
@@ -202,7 +202,7 @@ impl NetApp {
};
self.listen_params.store(Some(Arc::new(listen_params)));
- let mut listener = TcpListener::bind(listen_addr).await.unwrap();
+ let listener = TcpListener::bind(listen_addr).await.unwrap();
info!("Listening on {}", listen_addr);
loop {