Skip to content

Commit

Permalink
Move all *Rng wrappers to rngs dir
Browse files Browse the repository at this point in the history
  • Loading branch information
pitdicker committed May 8, 2018
1 parent 2c3d34d commit aee9a7b
Show file tree
Hide file tree
Showing 13 changed files with 451 additions and 352 deletions.
2 changes: 1 addition & 1 deletion src/distributions/float.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ float_impls! { f64, u64, 52, 1023 }
mod tests {
use Rng;
use distributions::{Open01, OpenClosed01};
use mock::StepRng;
use rngs::mock::StepRng;

const EPSILON32: f32 = ::core::f32::EPSILON;
const EPSILON64: f64 = ::core::f64::EPSILON;
Expand Down
2 changes: 1 addition & 1 deletion src/distributions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ fn ziggurat<R: Rng + ?Sized, P, Z>(
#[cfg(test)]
mod tests {
use Rng;
use mock::StepRng;
use rngs::mock::StepRng;
use super::{WeightedChoice, Weighted, Distribution};

#[test]
Expand Down
Loading

0 comments on commit aee9a7b

Please sign in to comment.