Skip to content

Commit

Permalink
Fix clippy::legacy_numeric_constant lint
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys committed Oct 17, 2024
1 parent 3d5282c commit 784e15b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/raster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ impl RasterStorage for AdaptiveStorage {
}
}

const _MAX_DIM: u32 = core::i16::MAX as u32;
const _MAX_DIM: u32 = i16::MAX as u32;

fn split_quad(base: &mut [FixedPoint]) {
let mut a;
Expand Down

0 comments on commit 784e15b

Please sign in to comment.