File tree 1 file changed +6
-6
lines changed
compiler/rustc_index/src/bit_set
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -350,24 +350,24 @@ fn sparse_matrix_operations() {
350
350
assert ! ( matrix. row( 0 ) . is_none( ) ) ;
351
351
}
352
352
353
- // SparseBitMatrix::subtract_row
354
- {
353
+ // SparseBitMatrix::subtract_row
354
+ {
355
355
let mut matrix = matrix. clone ( ) ;
356
356
assert ! ( !matrix. subtract_row( 3 , & disjoint) ) ;
357
357
assert ! ( matrix. subtract_row( 3 , & subset) ) ;
358
358
assert ! ( matrix. subtract_row( 3 , & superset) ) ;
359
359
matrix. intersect_row ( 0 , & disjoint) ;
360
360
assert ! ( matrix. row( 0 ) . is_none( ) ) ;
361
- }
361
+ }
362
362
363
- // SparseBitMatrix::union_row
364
- {
363
+ // SparseBitMatrix::union_row
364
+ {
365
365
let mut matrix = matrix. clone ( ) ;
366
366
assert ! ( !matrix. union_row( 3 , & subset) ) ;
367
367
assert ! ( matrix. union_row( 3 , & disjoint) ) ;
368
368
matrix. union_row ( 0 , & disjoint) ;
369
369
assert ! ( matrix. row( 0 ) . is_some( ) ) ;
370
- }
370
+ }
371
371
}
372
372
373
373
/// Merge dense hybrid set into empty sparse hybrid set.
You can’t perform that action at this time.
0 commit comments