expand comments

This commit is contained in:
Ralf Jung 2020-07-31 14:03:42 +02:00
parent 7468f632ff
commit ff0c3a9209
2 changed files with 2 additions and 2 deletions

View File

@ -1721,7 +1721,7 @@ fn panic_safe() {
let mut rng = thread_rng();
// Miri is too slow
// Miri is too slow (but still need to `chain` to make the types match)
let lens = if cfg!(miri) { (1..10).chain(0..0) } else { (1..20).chain(70..MAX_LEN) };
let moduli: &[u32] = if cfg!(miri) { &[5] } else { &[5, 20, 50] };

View File

@ -1267,7 +1267,7 @@ fn sort_unstable() {
use core::slice::heapsort;
use rand::{rngs::StdRng, seq::SliceRandom, Rng, SeedableRng};
// Miri is too slow
// Miri is too slow (but still need to `chain` to make the types match)
let lens = if cfg!(miri) { (2..20).chain(0..0) } else { (2..25).chain(500..510) };
let rounds = if cfg!(miri) { 1 } else { 100 };