From eed2c09a644b161b7a9a8e241e8090f27abc2810 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Fri, 13 Jul 2018 01:28:06 -0400 Subject: [PATCH] nit: fix `all_sccs` comment --- src/librustc_data_structures/graph/scc/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ pub fn num_sccs(&self) -> usize { 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 { (0 .. self.scc_data.len()).map(S::new) } -- 2.44.0