fix: suppress clippy type_complexity lint in capacity_manager test helper (#4209)

This commit is contained in:
Zhengchao An
2026-07-03 06:34:59 +08:00
committed by GitHub
parent 83c32a7a40
commit 2d4f5bfb8a
@@ -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![
(