File tree 1 file changed +3
-3
lines changed
src/librustc_data_structures
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -484,7 +484,7 @@ fn grow() {
484
484
485
485
#[ test]
486
486
fn matrix_intersection ( ) {
487
- let mut vec1 = BitMatrix :: new ( 200 , 200 ) ;
487
+ let mut vec1: BitMatrix < usize , usize > = BitMatrix :: new ( 200 , 200 ) ;
488
488
489
489
// (*) Elements reachable from both 2 and 65.
490
490
@@ -515,7 +515,7 @@ fn matrix_intersection() {
515
515
516
516
#[ test]
517
517
fn matrix_iter ( ) {
518
- let mut matrix = BitMatrix :: new ( 64 , 100 ) ;
518
+ let mut matrix: BitMatrix < usize , usize > = BitMatrix :: new ( 64 , 100 ) ;
519
519
matrix. add ( 3 , 22 ) ;
520
520
matrix. add ( 3 , 75 ) ;
521
521
matrix. add ( 2 , 99 ) ;
@@ -557,7 +557,7 @@ fn matrix_iter() {
557
557
558
558
#[ test]
559
559
fn sparse_matrix_iter ( ) {
560
- let mut matrix = SparseBitMatrix :: new ( 64 , 100 ) ;
560
+ let mut matrix: SparseBitMatrix < usize , usize > = SparseBitMatrix :: new ( 64 , 100 ) ;
561
561
matrix. add ( 3 , 22 ) ;
562
562
matrix. add ( 3 , 75 ) ;
563
563
matrix. add ( 2 , 99 ) ;
You can’t perform that action at this time.
0 commit comments