Skip to content

Commit 234ed21

Browse files
committed
Clippy.
1 parent 53b8a66 commit 234ed21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/processing_render/src/graphics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ pub fn update_region(
506506
&data,
507507
TexelCopyBufferLayout {
508508
offset: 0,
509-
bytes_per_row: Some(bytes_per_row.try_into().unwrap()),
509+
bytes_per_row: Some(bytes_per_row),
510510
rows_per_image: None,
511511
},
512512
Extent3d {

crates/processing_render/src/image.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ pub fn update_region(
364364
&data,
365365
TexelCopyBufferLayout {
366366
offset: 0,
367-
bytes_per_row: Some(bytes_per_row.try_into().unwrap()),
367+
bytes_per_row: Some(bytes_per_row),
368368
rows_per_image: None,
369369
},
370370
Extent3d {

0 commit comments

Comments
 (0)