From 3b90b8b2f504e2a9a71e8b8fabbedfeebea8238a Mon Sep 17 00:00:00 2001 From: 39ali Date: Sat, 13 May 2023 10:43:43 +0300 Subject: [PATCH] Fixed clippy warnings --- wgpu/tests/partially_bounded_arrays/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu/tests/partially_bounded_arrays/mod.rs b/wgpu/tests/partially_bounded_arrays/mod.rs index 9b7220d11e..e58dc89397 100644 --- a/wgpu/tests/partially_bounded_arrays/mod.rs +++ b/wgpu/tests/partially_bounded_arrays/mod.rs @@ -48,7 +48,7 @@ fn partially_bounded_array() { let texture_view = storage_texture.create_view(&wgpu::TextureViewDescriptor::default()); - let size = std::mem::size_of::() as u64 * 4 as u64; + let size = std::mem::size_of::() as u64 * 4_u64; let staging_buffer = device.create_buffer(&wgpu::BufferDescriptor { label: None, size,