Skip to content

Commit 5fcba48

Browse files
committed
Fix warnings
1 parent 5a2f443 commit 5fcba48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/app/headless_renderer.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ mod frame_capture {
158158
);
159159

160160
let texture_extent = Extent3d {
161-
width: src_image.size.x as u32,
162-
height: src_image.size.y as u32,
161+
width: src_image.size.x,
162+
height: src_image.size.y,
163163
depth_or_array_layers: 1,
164164
};
165165

@@ -332,7 +332,7 @@ mod frame_capture {
332332

333333
let images_dir =
334334
PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("test_images");
335-
print!("Saving image to: {:?}\n", images_dir);
335+
println!("Saving image to: {images_dir:?}");
336336
std::fs::create_dir_all(&images_dir).unwrap();
337337

338338
let number = rng.gen::<u128>();

0 commit comments

Comments
 (0)