mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Typo
This commit is contained in:
parent
953d685ea1
commit
acba31c333
@ -379,9 +379,9 @@ impl<T: Idx> BitRelations<HybridBitSet<T>> for HybridBitSet<T> {
|
|||||||
fn union(&mut self, other: &HybridBitSet<T>) -> bool {
|
fn union(&mut self, other: &HybridBitSet<T>) -> bool {
|
||||||
assert_eq!(self.domain_size(), other.domain_size());
|
assert_eq!(self.domain_size(), other.domain_size());
|
||||||
match self {
|
match self {
|
||||||
HybridBitSet::Sparse(self_sparse) => {
|
HybridBitSet::Sparse(_) => {
|
||||||
match other {
|
match other {
|
||||||
HybridBitSet::Sparse(_) => {
|
HybridBitSet::Sparse(other_sparse) => {
|
||||||
// Both sets are sparse. Add the elements in
|
// Both sets are sparse. Add the elements in
|
||||||
// `other_sparse` to `self` one at a time. This
|
// `other_sparse` to `self` one at a time. This
|
||||||
// may or may not cause `self` to be densified.
|
// may or may not cause `self` to be densified.
|
||||||
|
Loading…
Reference in New Issue
Block a user