removed unused tunnel fn warnings with neat linter flag

"we got `#[expect(dead_code)]` before gta 6"
This commit is contained in:
Vincent van Haaff 2024-11-10 10:58:37 -08:00
parent 41a2872ee5
commit 1b96c38007

View File

@ -34,6 +34,7 @@ pub trait UISender: Send {
bps_up: u64,
peers: Vec<json::JsonValue>,
);
#[expect(dead_code)]
fn set_tunnel_status(&mut self, tunnels: Option<Vec<json::JsonValue>>);
fn set_config(&mut self, config: &json::JsonValue);
fn set_connection_state(&mut self, state: ConnectionState);