Skip to content

Commit aee9a7b

Browse files
committed
Move all *Rng wrappers to rngs dir
1 parent 2c3d34d commit aee9a7b

File tree

13 files changed

+451
-352
lines changed

13 files changed

+451
-352
lines changed

src/distributions/float.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ float_impls! { f64, u64, 52, 1023 }
148148
mod tests {
149149
use Rng;
150150
use distributions::{Open01, OpenClosed01};
151-
use mock::StepRng;
151+
use rngs::mock::StepRng;
152152

153153
const EPSILON32: f32 = ::core::f32::EPSILON;
154154
const EPSILON64: f64 = ::core::f64::EPSILON;

src/distributions/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ fn ziggurat<R: Rng + ?Sized, P, Z>(
479479
#[cfg(test)]
480480
mod tests {
481481
use Rng;
482-
use mock::StepRng;
482+
use rngs::mock::StepRng;
483483
use super::{WeightedChoice, Weighted, Distribution};
484484

485485
#[test]

0 commit comments

Comments
 (0)