Skip to content

Commit

Permalink
get rid of warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgb committed Sep 24, 2024
1 parent 28d0721 commit 5436e8e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plane/plane-tests/tests/common/proxy_mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ pub struct MockProxy {
proxy_state: ProxyState,
route_info_request_receiver: mpsc::Receiver<RouteInfoRequest>,
addr: SocketAddr,
server: SimpleHttpServer,
_server: SimpleHttpServer,
}

#[allow(unused)]
impl MockProxy {
pub async fn new() -> Self {
let proxy_state = ProxyState::new();
Expand All @@ -36,7 +37,7 @@ impl MockProxy {
proxy_state,
route_info_request_receiver,
addr,
server,
_server: server,
}
}

Expand Down

0 comments on commit 5436e8e

Please sign in to comment.