From 1fe2feb97d8322ae65a6de3c28586d3ecfbb93ba 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 9b7220d11e4..e58dc89397e 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,