mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Replace uses of for foo in bar.iter()
,
and `for foo in bar.iter_mut(), and for foo in bar.into_iter() (continuation of #7197)
This commit is contained in:
parent
f4b526cfb4
commit
067a22a868
32 changed files with 76 additions and 78 deletions
|
@ -69,7 +69,7 @@ impl SurfaceMap {
|
|||
}
|
||||
|
||||
pub fn insert_surfaces(&mut self, display: &NativeDisplay, surfaces: Vec<NativeSurface>) {
|
||||
for surface in surfaces.into_iter() {
|
||||
for surface in surfaces {
|
||||
self.insert(display, surface);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue