Skip to content

Commit

Permalink
fix sparse_matrix_iter unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Jul 26, 2018
1 parent d376a6b commit ce576ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_data_structures/bitvec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ fn matrix_iter() {

#[test]
fn sparse_matrix_iter() {
let mut matrix: SparseBitMatrix<usize, usize> = SparseBitMatrix::new(64, 100);
let mut matrix: SparseBitMatrix<usize, usize> = SparseBitMatrix::new(100);
matrix.add(3, 22);
matrix.add(3, 75);
matrix.add(2, 99);
Expand Down

0 comments on commit ce576ac

Please sign in to comment.