Use StandardNormal on rand::distributions.

This commit is contained in:
Sébastien Crozet 2018-07-07 03:30:47 -07:00
parent a1d8aba501
commit 8e90e2adf7

View File

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