Skip to content

Commit f0b879a

Browse files
committed
Removed debug println!() from doc code
1 parent 780a6de commit f0b879a

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/graph.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,13 +1227,6 @@ impl<T> Graph<T> {
12271227
/// let v4 = graph.add_vertex(4);
12281228
/// let v5 = graph.add_vertex(5);
12291229
/// let v6 = graph.add_vertex(6);
1230-
///
1231-
/// println!("V1: {:?}", &v1);
1232-
/// println!("V2: {:?}", &v2);
1233-
/// println!("V3: {:?}", &v3);
1234-
/// println!("V4: {:?}", &v4);
1235-
/// println!("V5: {:?}", &v5);
1236-
/// println!("V6: {:?}", &v6);
12371230
///
12381231
/// graph.add_edge(&v1, &v2).unwrap();
12391232
/// graph.add_edge(&v2, &v3).unwrap();
@@ -1244,15 +1237,10 @@ impl<T> Graph<T> {
12441237
///
12451238
/// let mut dijkstra = graph.dijkstra(&v1, &v4);
12461239
///
1247-
/// println!("1");
12481240
/// assert_eq!(dijkstra.next(), Some(&v1));
1249-
/// println!("2");
12501241
/// assert_eq!(dijkstra.next(), Some(&v2));
1251-
/// println!("3");
12521242
/// assert_eq!(dijkstra.next(), Some(&v3));
1253-
/// println!("4");
12541243
/// assert_eq!(dijkstra.next(), Some(&v4));
1255-
/// println!("5");
12561244
/// assert_eq!(dijkstra.next(), None);
12571245
/// ```
12581246
pub fn dijkstra<'a>(&'a self, src: &'a VertexId, dest: &'a VertexId) -> VertexIter<'a> {

0 commit comments

Comments
 (0)