Skip to content

Commit f7390b9

Browse files
committed
Clarify operator precedence
1 parent 9060923 commit f7390b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lossless_transform.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ mod benches {
557557
let height = 256;
558558
let size_bits = 3;
559559
let mut data = vec![0u8; width * height * 4];
560-
let mut transform_data = vec![0u8; width * height * 4 >> (size_bits * 2)];
560+
let mut transform_data = vec![0u8; (width * height * 4) >> (size_bits * 2)];
561561
rand::thread_rng().fill(&mut data[..]);
562562
rand::thread_rng().fill(&mut transform_data[..]);
563563
b.bytes = 4 * width as u64 * height as u64;

0 commit comments

Comments
 (0)