-extern crate rand;
-extern crate rand_xorshift;
-extern crate rayon;
-
use rand::distributions::Standard;
use rand::{Rng, SeedableRng};
use rand_xorshift::XorShiftRng;
#[test]
pub fn execute_strings() {
- let mut rng = seeded_rng();
+ let rng = seeded_rng();
let s: String = rng.sample_iter::<char, _>(&Standard).take(1024).collect();
let par_chars: String = s.par_chars().collect();