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 <hello@tusharkhatri.in>
This commit is contained in:
Tushar Khatri
2026-06-17 16:05:02 +00:00
committed by Bo Chen
parent 510aa438f8
commit bf68b35ab7

View File

@@ -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
}