mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-20 19:42:17 +00:00
fix: suppress clippy type_complexity lint in capacity_manager test helper (#4209)
This commit is contained in:
@@ -1128,6 +1128,7 @@ mod tests {
|
|||||||
/// Table of env-configurable getters: (env var, getter normalized to u64,
|
/// Table of env-configurable getters: (env var, getter normalized to u64,
|
||||||
/// expected default, override string, expected override value).
|
/// expected default, override string, expected override value).
|
||||||
/// Durations are normalized to whole seconds.
|
/// Durations are normalized to whole seconds.
|
||||||
|
#[allow(clippy::type_complexity)]
|
||||||
fn config_getter_cases() -> Vec<(&'static str, fn() -> u64, u64, &'static str, u64)> {
|
fn config_getter_cases() -> Vec<(&'static str, fn() -> u64, u64, &'static str, u64)> {
|
||||||
vec![
|
vec![
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user