From 5436e8e6b446f52ee44fbb0570db2fc9926e14b9 Mon Sep 17 00:00:00 2001 From: Paul Butler Date: Tue, 24 Sep 2024 06:33:56 -0400 Subject: [PATCH] get rid of warnings --- plane/plane-tests/tests/common/proxy_mock.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plane/plane-tests/tests/common/proxy_mock.rs b/plane/plane-tests/tests/common/proxy_mock.rs index 18be0c84..a6abcad3 100644 --- a/plane/plane-tests/tests/common/proxy_mock.rs +++ b/plane/plane-tests/tests/common/proxy_mock.rs @@ -10,9 +10,10 @@ pub struct MockProxy { proxy_state: ProxyState, route_info_request_receiver: mpsc::Receiver, addr: SocketAddr, - server: SimpleHttpServer, + _server: SimpleHttpServer, } +#[allow(unused)] impl MockProxy { pub async fn new() -> Self { let proxy_state = ProxyState::new(); @@ -36,7 +37,7 @@ impl MockProxy { proxy_state, route_info_request_receiver, addr, - server, + _server: server, } }