fixed doc
This commit is contained in:
parent
21fa869081
commit
16f4eb141b
|
@ -42,8 +42,7 @@ pub struct DijkstraMap {
|
|||
}
|
||||
|
||||
impl DijkstraMap {
|
||||
/// Construct a new Dijkstra map, ready to run. You must specify the map size, and link to an implementation
|
||||
/// of a BaseMap trait that can generate exits lists. It then builds the map, giving you a result.
|
||||
//! Construct a new Dijkstra map, ready to run.
|
||||
pub fn new(map: &Map) -> DijkstraMap {
|
||||
let len = map.width * map.height;
|
||||
let tiles = vec![MAX; len];
|
||||
|
|
Loading…
Reference in New Issue
Block a user