From e84e493d70be8fe1ac3bf21906bcbe55bd0c100d Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Mon, 23 Dec 2024 16:29:57 +0100 Subject: [PATCH] Fix CI --- crates/dispatch2/src/once.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/dispatch2/src/once.rs b/crates/dispatch2/src/once.rs index 4e0c659af..53b246cf3 100644 --- a/crates/dispatch2/src/once.rs +++ b/crates/dispatch2/src/once.rs @@ -232,6 +232,7 @@ mod tests { once.call_once(|| call_count += 1); } + #[allow(clippy::redundant_locals)] let once = once; for _ in 0..10 { once.call_once(|| call_count += 1);