We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1528c4 commit 20caf63Copy full SHA for 20caf63
src/librustc_data_structures/graph/scc/mod.rs
@@ -1,7 +1,9 @@
1
-//! Routine to compute the strongly connected components (SCCs) of a
2
-//! graph, as well as the resulting DAG if each SCC is replaced with a
3
-//! node in the graph. This uses Tarjan's algorithm that completes in
4
-//! O(n) time.
+//! Routine to compute the strongly connected components (SCCs) of a graph.
+//!
+//! Also computes as the resulting DAG if each SCC is replaced with a
+//! node in the graph. This uses [Tarjan's algorithm](
5
+//! https://en.wikipedia.org/wiki/Tarjan%27s_strongly_connected_components_algorithm)
6
+//! that completes in *O(n)* time.
7
8
use crate::fx::FxHashSet;
9
use crate::graph::vec_graph::VecGraph;
0 commit comments