From 16f4eb141b23393a2237913a5436bf9319403805 Mon Sep 17 00:00:00 2001 From: klangner Date: Mon, 19 Oct 2020 20:14:36 +0200 Subject: [PATCH] fixed doc --- src/dijkstra.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dijkstra.rs b/src/dijkstra.rs index 8d2062b..a0e4cb0 100644 --- a/src/dijkstra.rs +++ b/src/dijkstra.rs @@ -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];