From 81084f3ceab8895b9657fcdaad9a463844c3fb4d Mon Sep 17 00:00:00 2001 From: TornaxO7 Date: Mon, 23 Oct 2023 22:23:41 +0200 Subject: [PATCH] make `cargo clippy --all-targets` happy --- wgpu-hal/examples/halmark/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu-hal/examples/halmark/main.rs b/wgpu-hal/examples/halmark/main.rs index 732d7abceb..80496fb958 100644 --- a/wgpu-hal/examples/halmark/main.rs +++ b/wgpu-hal/examples/halmark/main.rs @@ -270,7 +270,7 @@ impl Example { }; let pipeline = unsafe { device.create_render_pipeline(&pipeline_desc).unwrap() }; - let texture_data = vec![0xFFu8; 4]; + let texture_data = [0xFFu8; 4]; let staging_buffer_desc = hal::BufferDescriptor { label: Some("stage"),