Skip to content

Commit

Permalink
nit: clarify "keep it around" comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Jul 13, 2018
1 parent 666c365 commit 9d29994
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_data_structures/graph/scc/mod.rs
Expand Up @@ -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<S>,

scc_data: SccData<S>,
Expand Down

0 comments on commit 9d29994

Please sign in to comment.