We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b9f7dc commit 9d93bcfCopy full SHA for 9d93bcf
1 file changed
src/graph.rs
@@ -983,6 +983,15 @@ impl<T> Graph<T> {
983
/// use topo.is_cylic() == false to verify
984
/// that your graph is a DAG.
985
///
986
+ /// If you attempt to use a topological
987
+ /// order without confirming that your graph
988
+ /// is a DAG, you may encounter a panic!().
989
+ ///
990
+ /// The panic!() will be encountered when
991
+ /// the iterator detects that there are no
992
+ /// more vertices to visit, but all vertices
993
+ /// have not been visited.
994
995
/// ## Example
996
/// ```rust
997
/// # #[macro_use] extern crate graphlib; fn main() {
0 commit comments