🚨 remove unused vars

main
(on company time) 2022-12-19 16:37:54 -06:00
parent 74fb0cbe5a
commit 96af820ffb
1 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ async fn end_to_end_async () -> anyhow::Result <()> {
};
let t = Instant::now ();
let (server, server_shutdown_tx) = server::P4EndServer::connect (server_conf).await?;
let (server, _) = server::P4EndServer::connect (server_conf).await?;
let dur = t.elapsed ();
assert! (dur < Duration::from_millis (1_000), "{:?}", dur);
@ -97,7 +97,7 @@ async fn end_to_end_async () -> anyhow::Result <()> {
};
let t = Instant::now ();
let (server, server_shutdown_tx) = server::P4EndServer::connect (server_conf).await?;
let (server, _) = server::P4EndServer::connect (server_conf).await?;
let dur = t.elapsed ();
assert! (dur < Duration::from_millis (1_000), "{:?}", dur);