Fix clippy lints for Rust 1.66
This commit is contained in:
parent
e0c728c62c
commit
6bb01b7276
10 changed files with 28 additions and 40 deletions
|
|
@ -331,11 +331,7 @@ impl Pipeline {
|
|||
wgpu::IndexFormat::Uint32,
|
||||
);
|
||||
|
||||
render_pass.draw_indexed(
|
||||
0..(self.index_strides[index] as u32),
|
||||
0,
|
||||
0..1,
|
||||
);
|
||||
render_pass.draw_indexed(0..self.index_strides[index], 0, 0..1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue