Remove redundant into_iter call in iced_wgpu
This commit is contained in:
parent
020fb3c377
commit
0b28080d3e
1 changed files with 4 additions and 7 deletions
|
|
@ -93,13 +93,10 @@ impl<Theme> Compositor<Theme> {
|
|||
let limits =
|
||||
[wgpu::Limits::default(), wgpu::Limits::downlevel_defaults()];
|
||||
|
||||
let mut limits = limits
|
||||
.into_iter()
|
||||
.map(|limits| wgpu::Limits {
|
||||
max_bind_groups: 2,
|
||||
..limits
|
||||
})
|
||||
.into_iter();
|
||||
let mut limits = limits.into_iter().map(|limits| wgpu::Limits {
|
||||
max_bind_groups: 2,
|
||||
..limits
|
||||
});
|
||||
|
||||
let (device, queue) = loop {
|
||||
if let Some(limits) = limits.next() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue