From acba31c33378c961b37c5ea66c23675c101cb2e8 Mon Sep 17 00:00:00 2001 From: Will Crichton Date: Thu, 26 Aug 2021 12:14:37 -0700 Subject: [PATCH] Typo --- compiler/rustc_index/src/bit_set.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/rustc_index/src/bit_set.rs b/compiler/rustc_index/src/bit_set.rs index 1bb323cb2c4..fff0b3df7f9 100644 --- a/compiler/rustc_index/src/bit_set.rs +++ b/compiler/rustc_index/src/bit_set.rs @@ -379,9 +379,9 @@ impl BitRelations> for HybridBitSet { fn union(&mut self, other: &HybridBitSet) -> bool { assert_eq!(self.domain_size(), other.domain_size()); match self { - HybridBitSet::Sparse(self_sparse) => { + HybridBitSet::Sparse(_) => { match other { - HybridBitSet::Sparse(_) => { + HybridBitSet::Sparse(other_sparse) => { // Both sets are sparse. Add the elements in // `other_sparse` to `self` one at a time. This // may or may not cause `self` to be densified.