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>(
274
274
// Optimization of dense/sparse intersection. The resulting set is
275
275
// guaranteed to be at most the size of the sparse set, and hence can be
276
276
// 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.
278
278
fn dense_sparse_intersect < T : Idx > (
279
279
dense : & BitSet < T > ,
280
280
sparse : & SparseBitSet < T > ,
@@ -312,7 +312,7 @@ impl<T: Idx> BitRelations<HybridBitSet<T>> for BitSet<T> {
312
312
HybridBitSet :: Sparse ( sparse) => {
313
313
let ( updated, changed) = dense_sparse_intersect ( self , sparse) ;
314
314
315
- // We can't directly assign the BitSet to the SparseBitSet, and
315
+ // We can't directly assign the BitSet to the SparseBitSet, and
316
316
// doing `*self = updated.to_dense()` would cause a drop / reallocation. Instead,
317
317
// the BitSet is cleared and `updated` is copied into `self`.
318
318
self . clear ( ) ;
You can’t perform that action at this time.
0 commit comments