File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ fn sparse_intersect<T: Idx>(
274274// Optimization of dense/sparse intersection. The resulting set is
275275// guaranteed to be at most the size of the sparse set, and hence can be
276276// represented as a sparse set. Therefore the sparse set is copied and filtered,
277- // then returned as the new set.
277+ // then returned as the new set.
278278fn dense_sparse_intersect < T : Idx > (
279279 dense : & BitSet < T > ,
280280 sparse : & SparseBitSet < T > ,
@@ -312,7 +312,7 @@ impl<T: Idx> BitRelations<HybridBitSet<T>> for BitSet<T> {
312312 HybridBitSet :: Sparse ( sparse) => {
313313 let ( updated, changed) = dense_sparse_intersect ( self , sparse) ;
314314
315- // We can't directly assign the BitSet to the SparseBitSet, and
315+ // We can't directly assign the BitSet to the SparseBitSet, and
316316 // doing `*self = updated.to_dense()` would cause a drop / reallocation. Instead,
317317 // the BitSet is cleared and `updated` is copied into `self`.
318318 self . clear ( ) ;
You can’t perform that action at this time.
0 commit comments