Skip to content

Commit

Permalink
Make isaac and isaac64 modules public
Browse files Browse the repository at this point in the history
(and relative links are really inconsistent)
  • Loading branch information
pitdicker committed Apr 3, 2018
1 parent 94fbf76 commit 4d09662
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/prng/isaac.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const RAND_SIZE: usize = 1 << RAND_SIZE_LEN;
/// [3]: Jean-Philippe Aumasson, [*On the pseudo-random generator ISAAC*](
/// https://eprint.iacr.org/2006/438)
///
/// [`Hc128Rng`]: hc128/struct.Hc128Rng.html
/// [`Hc128Rng`]: ../hc128/struct.Hc128Rng.html
#[derive(Clone, Debug)]
#[cfg_attr(feature="serde-1", derive(Serialize, Deserialize))]
pub struct IsaacRng(BlockRng<IsaacCore>);
Expand Down
2 changes: 1 addition & 1 deletion src/prng/isaac64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const RAND_SIZE: usize = 1 << RAND_SIZE_LEN;
/// http://burtleburtle.net/bob/rand/isaac.html)
///
/// [`IsaacRng`]: ../isaac/struct.IsaacRng.html
/// [`Hc128Rng`]: hc128/struct.Hc128Rng.html
/// [`Hc128Rng`]: ../hc128/struct.Hc128Rng.html
#[derive(Clone, Debug)]
#[cfg_attr(feature="serde-1", derive(Serialize, Deserialize))]
pub struct Isaac64Rng(BlockRng64<Isaac64Core>);
Expand Down
8 changes: 4 additions & 4 deletions src/prng/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@

pub mod chacha;
pub mod hc128;
mod isaac;
mod isaac64;
pub mod isaac;
pub mod isaac64;
mod xorshift;

mod isaac_array;

#[doc(inline)] pub use self::chacha::ChaChaRng;
#[doc(inline)] pub use self::hc128::Hc128Rng;
pub use self::chacha::ChaChaRng;
pub use self::hc128::Hc128Rng;
pub use self::isaac::IsaacRng;
pub use self::isaac64::Isaac64Rng;
pub use self::xorshift::XorShiftRng;

0 comments on commit 4d09662

Please sign in to comment.