From e077b20da6df36d524e56569848f75cfc0815750 Mon Sep 17 00:00:00 2001 From: Alex Snaps Date: Mon, 16 Sep 2024 10:52:25 -0400 Subject: [PATCH] Ignore unknown lints Signed-off-by: Alex Snaps --- limitador-server/src/envoy_rls/envoy_types.rs | 1 + limitador/src/storage/redis/redis_cached.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/limitador-server/src/envoy_rls/envoy_types.rs b/limitador-server/src/envoy_rls/envoy_types.rs index bdfb66c9..a6184f86 100644 --- a/limitador-server/src/envoy_rls/envoy_types.rs +++ b/limitador-server/src/envoy_rls/envoy_types.rs @@ -1,3 +1,4 @@ +#[allow(unknown_lints)] pub mod envoy { pub mod config { pub mod core { diff --git a/limitador/src/storage/redis/redis_cached.rs b/limitador/src/storage/redis/redis_cached.rs index bb580dad..441d09da 100644 --- a/limitador/src/storage/redis/redis_cached.rs +++ b/limitador/src/storage/redis/redis_cached.rs @@ -341,7 +341,7 @@ async fn update_counters( Ok(res) } -#[allow(clippy::manual_inspect)] +#[allow(unknown_lints, clippy::manual_inspect)] #[tracing::instrument(skip_all)] async fn flush_batcher_and_update_counters( mut redis_conn: C,