From f59e8be7fdb06d2efff1c6070fa0fa01e43ea589 Mon Sep 17 00:00:00 2001 From: Alex Chi Z Date: Wed, 13 Nov 2024 14:48:00 -0500 Subject: [PATCH] fix clippy warnings Signed-off-by: Alex Chi Z --- libs/utils/src/backoff.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/utils/src/backoff.rs b/libs/utils/src/backoff.rs index 94324ba30a..1d70e9b4c5 100644 --- a/libs/utils/src/backoff.rs +++ b/libs/utils/src/backoff.rs @@ -84,6 +84,7 @@ where /// for any other error type. Final failed attempt is logged with `{:?}`. /// /// Returns `None` if cancellation was noticed during backoff or the terminal result. +#[allow(clippy::too_many_arguments)] pub async fn retry_with_options( mut op: O, is_permanent: impl Fn(&E) -> bool,