mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-16 12:25:02 +01:00
Clippy shenanigans
This commit is contained in:
parent
432be07370
commit
c1a4c0db87
2 changed files with 4 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue