about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustc_data_structures/graph/scc/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_data_structures/graph/scc/mod.rs b/src/librustc_data_structures/graph/scc/mod.rs
index 8976e535781..a989a540102 100644
--- a/src/librustc_data_structures/graph/scc/mod.rs
+++ b/src/librustc_data_structures/graph/scc/mod.rs
@@ -54,7 +54,7 @@ impl<N: Idx, S: Idx> Sccs<N, S> {
         self.scc_data.len()
     }
 
-    /// Returns the number of SCCs in the graph.
+    /// Returns an iterator over the SCCs in the graph.
     pub fn all_sccs(&self) -> impl Iterator<Item = S> {
         (0 .. self.scc_data.len()).map(S::new)
     }