Skip to content

Commit 26176f9

Browse files
committed
silly clippy things
1 parent a0ff033 commit 26176f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/predictor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ impl Unpredict for FloatingPointPredictor {
291291
) -> AsyncTiffResult<Bytes> {
292292
let output_row_stride = predictor_info.output_row_stride(tile_x)?;
293293
let mut res: BytesMut =
294-
BytesMut::zeroed(output_row_stride * predictor_info.output_rows(tile_y)? as usize);
294+
BytesMut::zeroed(output_row_stride * predictor_info.output_rows(tile_y)?);
295295
let bit_depth = predictor_info.bits_per_sample;
296296
if predictor_info.chunk_width_pixels(tile_x)? == predictor_info.chunk_width {
297297
// no special padding handling

0 commit comments

Comments
 (0)