Clippy shenanigans

This commit is contained in:
crumblingstatue 2023-04-14 11:48:19 +02:00
parent 432be07370
commit c1a4c0db87
2 changed files with 4 additions and 0 deletions

View file

@ -343,6 +343,8 @@ impl Tile {
}
pub const REGION_CHUNK_EXTENT: u8 = 8;
#[allow(clippy::assertions_on_constants)]
const _: () = assert!(
REGION_CHUNK_EXTENT * REGION_CHUNK_EXTENT <= 64,
"A region file uses an existence bitset that's a 64 bit integer"