diff options
author | 2022-12-20 11:31:25 +0100 | |
---|---|---|
committer | 2022-12-20 11:31:25 +0100 | |
commit | 6bb01b727611b83592f96b2b89371a12e7ce54d8 (patch) | |
tree | c75ba7d21b0bec1f5000b6e4ababff923d09387c /wgpu/src/triangle.rs | |
parent | e0c728c62c6fd9496de1d442e7476e24fc5e9023 (diff) | |
download | iced-6bb01b727611b83592f96b2b89371a12e7ce54d8.tar.gz iced-6bb01b727611b83592f96b2b89371a12e7ce54d8.tar.bz2 iced-6bb01b727611b83592f96b2b89371a12e7ce54d8.zip |
Fix `clippy` lints for Rust 1.66
Diffstat (limited to 'wgpu/src/triangle.rs')
-rw-r--r-- | wgpu/src/triangle.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/wgpu/src/triangle.rs b/wgpu/src/triangle.rs index b33b488a..061154b6 100644 --- a/wgpu/src/triangle.rs +++ b/wgpu/src/triangle.rs @@ -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); } } |