Apply non-mut interface.
@@ -8,11 +8,7 @@ const MAX_ASTAR_STEPS: usize = 65536;
/// Request an A-Star search. The start and end are specified as index numbers (compatible with your
/// BaseMap implementation), and it requires access to your map so as to call distance and exit
/// determinations.
-<<<<<<< HEAD
-pub fn a_star_search(start: i32, end: i32, map: &dyn BaseMap) -> NavigationPath {
-=======
-pub fn a_star_search(start: usize, end: usize, map: &mut dyn BaseMap) -> NavigationPath {
->>>>>>> Pedantry round 1 - convert a lot of i32 into usize that make sense.
+pub fn a_star_search(start: usize, end: usize, map: &dyn BaseMap) -> NavigationPath {
AStar::new(start, end).search(map)
}
