chore: clippy
This commit is contained in:
parent
3b70bc0265
commit
0847247c33
77 changed files with 865 additions and 1029 deletions
|
|
@ -46,7 +46,7 @@ fn kms_surfaces_for_output<'a>(
|
|||
output: &'a Output,
|
||||
) -> impl Iterator<Item = &'a mut Surface> + 'a {
|
||||
kms_surfaces(state).filter(move |surface| {
|
||||
surface.output == *output || surface.output.mirroring().as_ref() == Some(&output)
|
||||
surface.output == *output || surface.output.mirroring().as_ref() == Some(output)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue