mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
clippy: Fix filter_next warnings (#31965)
This commit is contained in:
parent
c7b73e1ef4
commit
0a40a800fd
4 changed files with 7 additions and 14 deletions
|
@ -67,8 +67,7 @@ impl XRFrame {
|
|||
self.data
|
||||
.sub_images
|
||||
.iter()
|
||||
.filter(|sub_images| sub_images.layer_id == layer_id)
|
||||
.next()
|
||||
.find(|sub_images| sub_images.layer_id == layer_id)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue