From 2d4f5bfb8a2a09bd0355f075bf3baa93032956a4 Mon Sep 17 00:00:00 2001 From: Zhengchao An Date: Fri, 3 Jul 2026 06:34:59 +0800 Subject: [PATCH] fix: suppress clippy type_complexity lint in capacity_manager test helper (#4209) --- crates/object-capacity/src/capacity_manager.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/object-capacity/src/capacity_manager.rs b/crates/object-capacity/src/capacity_manager.rs index 93ffb9fb9..d34c0a3b1 100644 --- a/crates/object-capacity/src/capacity_manager.rs +++ b/crates/object-capacity/src/capacity_manager.rs @@ -1128,6 +1128,7 @@ mod tests { /// Table of env-configurable getters: (env var, getter normalized to u64, /// expected default, override string, expected override value). /// Durations are normalized to whole seconds. + #[allow(clippy::type_complexity)] fn config_getter_cases() -> Vec<(&'static str, fn() -> u64, u64, &'static str, u64)> { vec![ (