mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
expand comments
This commit is contained in:
parent
7468f632ff
commit
ff0c3a9209
@ -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] };
|
||||
|
||||
|
@ -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 };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user