File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1721,7 +1721,7 @@ fn panic_safe() {
17211721
17221722 let mut rng = thread_rng ( ) ;
17231723
1724- // Miri is too slow
1724+ // Miri is too slow (but still need to `chain` to make the types match)
17251725 let lens = if cfg ! ( miri) { ( 1 ..10 ) . chain ( 0 ..0 ) } else { ( 1 ..20 ) . chain ( 70 ..MAX_LEN ) } ;
17261726 let moduli: & [ u32 ] = if cfg ! ( miri) { & [ 5 ] } else { & [ 5 , 20 , 50 ] } ;
17271727
Original file line number Diff line number Diff line change @@ -1267,7 +1267,7 @@ fn sort_unstable() {
12671267 use core:: slice:: heapsort;
12681268 use rand:: { rngs:: StdRng , seq:: SliceRandom , Rng , SeedableRng } ;
12691269
1270- // Miri is too slow
1270+ // Miri is too slow (but still need to `chain` to make the types match)
12711271 let lens = if cfg ! ( miri) { ( 2 ..20 ) . chain ( 0 ..0 ) } else { ( 2 ..25 ) . chain ( 500 ..510 ) } ;
12721272 let rounds = if cfg ! ( miri) { 1 } else { 100 } ;
12731273
You can’t perform that action at this time.
0 commit comments