ycbcr_textures: Kernels::quantizes asks the list with contains, as clippy's manual_contains asks

(cherry picked from commit ec5bbee96a13ac7496f1088bb6fc9b3885c11008)
This commit is contained in:
Anees Iqbal committed 2026-11-09 05:12:12 -08:00
1 parent 8fc9e3dd68
commit 8c19e8bf97
1 file changed
+1 -3
@@ -533,9 +533,7 @@ impl Kernels {
/// Whether the `half` kernel `entry`'s stage rounds by the device's quantize
/// ([`Kernels::quantizing`]).
fn quantizes(&self, entry: &str) -> bool {
self.quantizing
.iter()
.any(|&quantizing| quantizing == entry)
self.quantizing.contains(&entry)
}
}