From bf68b35ab79c19488e7a63036bdac510632d7b8d Mon Sep 17 00:00:00 2001 From: Tushar Khatri Date: Wed, 17 Jun 2026 16:05:02 +0000 Subject: [PATCH] performance-metrics: reevaluate #[allow] attributes Convert the still-needed #[allow] to #[expect] so it warns if the lint stops firing. Part of #8326. Signed-off-by: Tushar Khatri --- performance-metrics/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/performance-metrics/src/main.rs b/performance-metrics/src/main.rs index 98e14cc21..9d9425061 100644 --- a/performance-metrics/src/main.rs +++ b/performance-metrics/src/main.rs @@ -378,7 +378,7 @@ mod adjuster { v / (1_000_000_000_f64) } - #[allow(non_snake_case)] + #[expect(non_snake_case)] pub fn Bps_to_MiBps(v: f64) -> f64 { v / (1 << 20) as f64 }