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 0a62b7d commit 7e168a6Copy full SHA for 7e168a6
library/alloc/tests/slice.rs
@@ -1722,7 +1722,7 @@ fn panic_safe() {
1722
let mut rng = thread_rng();
1723
1724
// Miri is too slow
1725
- let lens = if cfg!(miri) { (1..10).chain(20..21) } else { (1..20).chain(70..MAX_LEN) };
+ let lens = if cfg!(miri) { (1..10).chain(0..0) } else { (1..20).chain(70..MAX_LEN) };
1726
let moduli: &[u32] = if cfg!(miri) { &[5] } else { &[5, 20, 50] };
1727
1728
for len in lens {
0 commit comments