Skip to content

Commit eed2c09

Browse files
committed
nit: fix all_sccs comment
1 parent 0472da3 commit eed2c09

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_data_structures/graph/scc

1 file changed

+1
-1
lines changed

src/librustc_data_structures/graph/scc/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ impl<N: Idx, S: Idx> Sccs<N, S> {
5454
self.scc_data.len()
5555
}
5656

57-
/// Returns the number of SCCs in the graph.
57+
/// Returns an iterator over the SCCs in the graph.
5858
pub fn all_sccs(&self) -> impl Iterator<Item = S> {
5959
(0 .. self.scc_data.len()).map(S::new)
6060
}

0 commit comments

Comments
 (0)