Skip to content

Commit

Permalink
Fix lint for u64::MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
seilis committed Jan 15, 2025
1 parent ac379bb commit 53bad7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpgtools/map/gridmap/gridroom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl GridRoom {
));
}

let mut best_distance = std::u64::MAX;
let mut best_distance = u64::MAX;
let mut our_closest = Point::default();
let mut their_closest = Point::default();

Expand Down

0 comments on commit 53bad7e

Please sign in to comment.