From 51397d4f01830843d8f1cdfe2a6fe35d39235b7d Mon Sep 17 00:00:00 2001 From: bowenyang007 Date: Mon, 16 Sep 2024 21:46:20 -0700 Subject: [PATCH] fix lint --- rust/processor/src/processors/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/processor/src/processors/mod.rs b/rust/processor/src/processors/mod.rs index a38b7c29e..4d31ad21a 100644 --- a/rust/processor/src/processors/mod.rs +++ b/rust/processor/src/processors/mod.rs @@ -102,6 +102,7 @@ pub trait ProcessorTrait: Send + Sync + Debug { /// Gets the connection. /// If it was unable to do so (default timeout: 30s), it will keep retrying until it can. + #[allow(unknown_lints)] #[allow(elided_named_lifetimes)] async fn get_conn(&self) -> DbPoolConnection { let pool = self.connection_pool();