Skip to content

Commit ef34a16

Browse files
committed
[nll] librustc_data_structures: remove unused mut annotation in test
1 parent 4aced68 commit ef34a16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_data_structures/indexed_set.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ fn test_set_up_to() {
326326
#[test]
327327
fn test_new_filled() {
328328
for i in 0..128 {
329-
let mut idx_buf = IdxSetBuf::new_filled(i);
329+
let idx_buf = IdxSetBuf::new_filled(i);
330330
let elems: Vec<usize> = idx_buf.iter().collect();
331331
let expected: Vec<usize> = (0..i).collect();
332332
assert_eq!(elems, expected);

0 commit comments

Comments
 (0)