Skip to content

Commit

Permalink
Fix docs (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmondada committed Jul 28, 2023
1 parent a496c90 commit f8a53db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
//! graph.link_ports(port_a, port_b).unwrap();
//!
//! // Run a topological sort on the graph starting at node A.
//! let topo: TopoSort = toposort(&graph, [node_a], Direction::Outgoing);
//! let topo: TopoSort<_> = toposort(&graph, [node_a], Direction::Outgoing);
//! assert_eq!(topo.collect::<Vec<_>>(), [node_a, node_b]);
//! ```
//!
Expand Down

0 comments on commit f8a53db

Please sign in to comment.