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 14, 2025
1 parent a8fb19a commit 7e6c50a
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 7e6c50a

Please sign in to comment.