We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 847b441 commit d85f2bcCopy full SHA for d85f2bc
src/map.rs
@@ -3900,8 +3900,13 @@ mod test_map {
3900
fn test_into_iter_refresh() {
3901
use core::hash::{BuildHasher, Hash, Hasher};
3902
3903
+ #[cfg(miri)]
3904
+ const N: usize = 32;
3905
+ #[cfg(not(miri))]
3906
+ const N: usize = 128;
3907
+
3908
let mut rng = rand::thread_rng();
- for n in 0..128 {
3909
+ for n in 0..N {
3910
let mut m = HashMap::new();
3911
for i in 0..n {
3912
assert!(m.insert(i, 2 * i).is_none());
0 commit comments