From: Niko Matsakis Date: Fri, 13 Jul 2018 05:18:35 +0000 (-0400) Subject: nit: clarify "keep it around" comment X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=9d2999461fbc07a7059363aacf2b0bcf615d322b;p=rust.git nit: clarify "keep it around" comment --- diff --git a/src/librustc_data_structures/graph/scc/mod.rs b/src/librustc_data_structures/graph/scc/mod.rs index 64471230f55..82755ef5ce5 100644 --- a/src/librustc_data_structures/graph/scc/mod.rs +++ b/src/librustc_data_structures/graph/scc/mod.rs @@ -122,8 +122,8 @@ struct SccsConstruction<'c, G: DirectedGraph + WithNumNodes + WithSuccessors + ' /// A set used to strip duplicates. As we accumulate successors /// into the successors_stack, we sometimes get duplicate entries. - /// We use this set to remove those -- we keep it around between - /// successors to amortize memory allocation costs. + /// We use this set to remove those -- we also keep its storage + /// around between successors to amortize memory allocation costs. duplicate_set: FxHashSet, scc_data: SccData,