From 5c279665b0e0762aa85c085c786cc51ea6f0f708 Mon Sep 17 00:00:00 2001 From: Anatolii Kurotych Date: Thu, 25 Jul 2024 17:48:38 +0300 Subject: [PATCH] Suppress clippy warnings --- iot_config/src/org.rs | 1 + iot_config/src/route.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/iot_config/src/org.rs b/iot_config/src/org.rs index 5f1fd54b6..203e87988 100644 --- a/iot_config/src/org.rs +++ b/iot_config/src/org.rs @@ -28,6 +28,7 @@ pub struct Org { } #[derive(Debug, Serialize)] +#[allow(dead_code)] pub struct OrgList { orgs: Vec, } diff --git a/iot_config/src/route.rs b/iot_config/src/route.rs index fc5424208..2a14168ad 100644 --- a/iot_config/src/route.rs +++ b/iot_config/src/route.rs @@ -850,6 +850,7 @@ async fn remove_skfs(skfs: &[Skf], db: impl sqlx::PgExecutor<'_>) -> anyhow::Res } #[derive(Debug, Serialize)] +#[allow(dead_code)] pub struct RouteList { routes: Vec, }