Fix small typo in FIXME

This commit is contained in:
Martin Gammelsæter 2022-03-15 12:04:23 +01:00
parent b7511248f9
commit 0d6e51e6ea

View File

@ -656,7 +656,7 @@ impl<T: Idx> BitRelations<HybridBitSet<T>> for ChunkedBitSet<T> {
fn union(&mut self, other: &HybridBitSet<T>) -> bool { fn union(&mut self, other: &HybridBitSet<T>) -> bool {
// FIXME: This is slow if `other` is dense, but it hasn't been a problem // FIXME: This is slow if `other` is dense, but it hasn't been a problem
// in practice so far. // in practice so far.
// If a a faster implementation of this operation is required, consider // If a faster implementation of this operation is required, consider
// reopening https://github.com/rust-lang/rust/pull/94625 // reopening https://github.com/rust-lang/rust/pull/94625
assert_eq!(self.domain_size, other.domain_size()); assert_eq!(self.domain_size, other.domain_size());
sequential_update(|elem| self.insert(elem), other.iter()) sequential_update(|elem| self.insert(elem), other.iter())
@ -665,7 +665,7 @@ impl<T: Idx> BitRelations<HybridBitSet<T>> for ChunkedBitSet<T> {
fn subtract(&mut self, other: &HybridBitSet<T>) -> bool { fn subtract(&mut self, other: &HybridBitSet<T>) -> bool {
// FIXME: This is slow if `other` is dense, but it hasn't been a problem // FIXME: This is slow if `other` is dense, but it hasn't been a problem
// in practice so far. // in practice so far.
// If a a faster implementation of this operation is required, consider // If a faster implementation of this operation is required, consider
// reopening https://github.com/rust-lang/rust/pull/94625 // reopening https://github.com/rust-lang/rust/pull/94625
assert_eq!(self.domain_size, other.domain_size()); assert_eq!(self.domain_size, other.domain_size());
sequential_update(|elem| self.remove(elem), other.iter()) sequential_update(|elem| self.remove(elem), other.iter())