We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
all_sccs
1 parent 0472da3 commit eed2c09Copy full SHA for eed2c09
src/librustc_data_structures/graph/scc/mod.rs
@@ -54,7 +54,7 @@ impl<N: Idx, S: Idx> Sccs<N, S> {
54
self.scc_data.len()
55
}
56
57
- /// Returns the number of SCCs in the graph.
+ /// Returns an iterator over the SCCs in the graph.
58
pub fn all_sccs(&self) -> impl Iterator<Item = S> {
59
(0 .. self.scc_data.len()).map(S::new)
60
0 commit comments