Skip to content

Commit acba31c

Browse files
committed
Typo
1 parent 953d685 commit acba31c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_index/src/bit_set.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,9 @@ impl<T: Idx> BitRelations<HybridBitSet<T>> for HybridBitSet<T> {
379379
fn union(&mut self, other: &HybridBitSet<T>) -> bool {
380380
assert_eq!(self.domain_size(), other.domain_size());
381381
match self {
382-
HybridBitSet::Sparse(self_sparse) => {
382+
HybridBitSet::Sparse(_) => {
383383
match other {
384-
HybridBitSet::Sparse(_) => {
384+
HybridBitSet::Sparse(other_sparse) => {
385385
// Both sets are sparse. Add the elements in
386386
// `other_sparse` to `self` one at a time. This
387387
// may or may not cause `self` to be densified.

0 commit comments

Comments
 (0)