Skip to content

Commit efc3018

Browse files
committed
Fix clippy errors
1 parent 66ba4c9 commit efc3018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/world/src/chunk_format.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ impl Heightmaps {
9999
let start = (index * bits_per_value) / 64;
100100
let offset = (index * bits_per_value) % 64;
101101
let value = self.motion_blocking[start] >> offset;
102-
((value & ((1 << bits_per_value) - 1)) as i64) - 64
102+
((value & ((1 << bits_per_value) - 1))) - 64
103103
}
104104
}
105105

0 commit comments

Comments
 (0)