Use StandardNormal only with the "std" feature.

This commit is contained in:
Sébastien Crozet 2018-07-07 03:22:12 -07:00
parent 352e71656d
commit a1d8aba501

View File

@ -5,8 +5,8 @@ use quickcheck::{Arbitrary, Gen};
use num::{Bounded, One, Zero};
#[cfg(feature = "std")]
use rand;
use rand::distributions::{Distribution, Standard, StandardNormal};
use rand::{self, StandardNormal};
use rand::distributions::{Distribution, Standard};
use rand::Rng;
use std::iter;
use typenum::{self, Cmp, Greater};