Skip to content

Commit b120e8b

Browse files
committed
Only run test with default hasher
1 parent 6b0440e commit b120e8b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/run-pass/hashmap.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ fn test_map<S: BuildHasher>(mut map: HashMap<i32, i32, S>) {
2727
}
2828

2929
fn main() {
30-
let map : HashMap<i32, i32, BuildHasherDefault<collections::hash_map::DefaultHasher>> = Default::default();
30+
let _map : HashMap<i32, i32, BuildHasherDefault<collections::hash_map::DefaultHasher>> = Default::default();
3131
let map_normal: HashMap<i32, i32> = HashMap::new();
3232

33-
test_map(map);
3433
test_map(map_normal);
3534
}

0 commit comments

Comments
 (0)