File tree 3 files changed +8
-6
lines changed
3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ const RAND_SIZE: usize = 1 << RAND_SIZE_LEN;
85
85
/// [3]: Jean-Philippe Aumasson, [*On the pseudo-random generator ISAAC*](
86
86
/// https://eprint.iacr.org/2006/438)
87
87
///
88
- /// [`Hc128Rng`]: hc128/struct.Hc128Rng.html
88
+ /// [`Hc128Rng`]: ../ hc128/struct.Hc128Rng.html
89
89
#[ derive( Clone , Debug ) ]
90
90
#[ cfg_attr( feature="serde-1" , derive( Serialize , Deserialize ) ) ]
91
91
pub struct IsaacRng ( BlockRng < IsaacCore > ) ;
@@ -153,6 +153,7 @@ impl IsaacRng {
153
153
}
154
154
}
155
155
156
+ /// The core of `IsaacRng`, used with `BlockRng`.
156
157
#[ derive( Clone ) ]
157
158
#[ cfg_attr( feature="serde-1" , derive( Serialize , Deserialize ) ) ]
158
159
pub struct IsaacCore {
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ const RAND_SIZE: usize = 1 << RAND_SIZE_LEN;
75
75
/// http://burtleburtle.net/bob/rand/isaac.html)
76
76
///
77
77
/// [`IsaacRng`]: ../isaac/struct.IsaacRng.html
78
- /// [`Hc128Rng`]: hc128/struct.Hc128Rng.html
78
+ /// [`Hc128Rng`]: ../ hc128/struct.Hc128Rng.html
79
79
#[ derive( Clone , Debug ) ]
80
80
#[ cfg_attr( feature="serde-1" , derive( Serialize , Deserialize ) ) ]
81
81
pub struct Isaac64Rng ( BlockRng64 < Isaac64Core > ) ;
@@ -143,6 +143,7 @@ impl Isaac64Rng {
143
143
}
144
144
}
145
145
146
+ /// The core of `Isaac64Rng`, used with `BlockRng`.
146
147
#[ derive( Clone ) ]
147
148
#[ cfg_attr( feature="serde-1" , derive( Serialize , Deserialize ) ) ]
148
149
pub struct Isaac64Core {
Original file line number Diff line number Diff line change 42
42
43
43
pub mod chacha;
44
44
pub mod hc128;
45
- mod isaac;
46
- mod isaac64;
45
+ pub mod isaac;
46
+ pub mod isaac64;
47
47
mod xorshift;
48
48
49
49
mod isaac_array;
50
50
51
- # [ doc ( inline ) ] pub use self :: chacha:: ChaChaRng ;
52
- # [ doc ( inline ) ] pub use self :: hc128:: Hc128Rng ;
51
+ pub use self :: chacha:: ChaChaRng ;
52
+ pub use self :: hc128:: Hc128Rng ;
53
53
pub use self :: isaac:: IsaacRng ;
54
54
pub use self :: isaac64:: Isaac64Rng ;
55
55
pub use self :: xorshift:: XorShiftRng ;
You can’t perform that action at this time.
0 commit comments