Skip to content

Commit

Permalink
make cargo clippy --all-targets happy
Browse files Browse the repository at this point in the history
  • Loading branch information
TornaxO7 committed Oct 23, 2023
1 parent 76d3175 commit 81084f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-hal/examples/halmark/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ impl<A: hal::Api> Example<A> {
};
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"),
Expand Down

0 comments on commit 81084f3

Please sign in to comment.