chore: Fix remaining clippy lints

This commit is contained in:
Victoria Brekenfeld 2026-03-20 13:40:06 +01:00 committed by Victoria Brekenfeld
parent 0a016991a4
commit 5216eb50ba
14 changed files with 64 additions and 50 deletions

View file

@ -747,7 +747,7 @@ impl KmsGuard<'_> {
.crtcs()
.iter()
.filter(|crtc| {
device.inner.surfaces.get(crtc).is_none()
!device.inner.surfaces.contains_key(crtc)
// TODO: We can't do this. See https://github.com/Smithay/smithay/pull/1820
//.is_some_and(|surface| surface.output.is_enabled())
})