File tree 8 files changed +11
-11
lines changed 8 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ const STATE_WORDS: usize = 16;
64
64
///
65
65
/// [`set_word_pos`]: #method.set_word_pos
66
66
/// [`set_stream`]: #method.set_stream
67
- /// [`BlockRng`]: ../../../ rand_core/block/struct.BlockRng.html
68
- /// [`RngCore`]: ../.. /trait.RngCore.html
67
+ /// [`BlockRng`]: ../rand_core/block/struct.BlockRng.html
68
+ /// [`RngCore`]: ../rand_core /trait.RngCore.html
69
69
#[ derive( Clone , Debug ) ]
70
70
pub struct ChaChaRng ( BlockRng < ChaChaCore > ) ;
71
71
Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ const SEED_WORDS: usize = 8; // 128 bit key followed by 128 bit iv
64
64
/// [^5]: Internet Engineering Task Force (February 2015),
65
65
/// ["Prohibiting RC4 Cipher Suites"](https://tools.ietf.org/html/rfc7465).
66
66
///
67
- /// [`BlockRng`]: ../../../ rand_core/block/struct.BlockRng.html
68
- /// [`RngCore`]: ../.. /trait.RngCore.html
67
+ /// [`BlockRng`]: ../rand_core/block/struct.BlockRng.html
68
+ /// [`RngCore`]: ../rand_core /trait.RngCore.html
69
69
#[ derive( Clone , Debug ) ]
70
70
pub struct Hc128Rng ( BlockRng < Hc128Core > ) ;
71
71
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ const RAND_SIZE: usize = 1 << RAND_SIZE_LEN;
86
86
/// [^3]: Jean-Philippe Aumasson, [*On the pseudo-random generator ISAAC*](
87
87
/// https://eprint.iacr.org/2006/438)
88
88
///
89
- /// [`Hc128Rng`]: ../../rand/prng//hc128 /struct.Hc128Rng.html
89
+ /// [`Hc128Rng`]: ../../rand_hc128 /struct.Hc128Rng.html
90
90
/// [`BlockRng`]: ../../rand_core/block/struct.BlockRng.html
91
91
/// [`RngCore`]: ../../rand_core/trait.RngCore.html
92
92
#[ derive( Clone , Debug ) ]
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ const RAND_SIZE: usize = 1 << RAND_SIZE_LEN;
76
76
/// http://burtleburtle.net/bob/rand/isaac.html)
77
77
///
78
78
/// [`IsaacRng`]: ../isaac/struct.IsaacRng.html
79
- /// [`Hc128Rng`]: ../../rand/prng/hc128 /struct.Hc128Rng.html
79
+ /// [`Hc128Rng`]: ../../rand_hc128 /struct.Hc128Rng.html
80
80
/// [`BlockRng64`]: ../../rand_core/block/struct.BlockRng64.html
81
81
/// [`RngCore`]: ../../rand_core/trait.RngCore.html
82
82
#[ derive( Clone , Debug ) ]
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ use rand_core::block::{BlockRngCore, BlockRng};
80
80
/// ```
81
81
///
82
82
/// [`ChaChaCore`]: ../../../rand_chacha/struct.ChaChaCore.html
83
- /// [`Hc128Core`]: ../../prng/hc128 /struct.Hc128Core.html
83
+ /// [`Hc128Core`]: ../../../rand_hc128 /struct.Hc128Core.html
84
84
/// [`BlockRngCore`]: ../../../rand_core/block/trait.BlockRngCore.html
85
85
/// [`ReseedingRng::new`]: struct.ReseedingRng.html#method.new
86
86
/// [`reseed()`]: struct.ReseedingRng.html#method.reseed
Original file line number Diff line number Diff line change 161
161
//! [`mock::StepRng`]: mock/struct.StepRng.html
162
162
//! [`adapter::ReadRng`]: adapter/struct.ReadRng.html
163
163
//! [`adapter::ReseedingRng`]: adapter/struct.ReseedingRng.html
164
- //! [`ChaChaRng`]: ../prng/chacha /struct.ChaChaRng.html
164
+ //! [`ChaChaRng`]: ../../rand_chacha /struct.ChaChaRng.html
165
165
166
166
pub mod adapter;
167
167
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ use rand_hc128::Hc128Rng;
23
23
/// produce different output depending on the architecture. If you require
24
24
/// reproducible output, use a named RNG, for example [`ChaChaRng`].
25
25
///
26
- /// [HC-128]: ../prng/hc128 /struct.Hc128Rng.html
27
- /// [`ChaChaRng`]: ../prng/chacha /struct.ChaChaRng.html
26
+ /// [HC-128]: ../../rand_hc128 /struct.Hc128Rng.html
27
+ /// [`ChaChaRng`]: ../../rand_chacha /struct.ChaChaRng.html
28
28
#[ derive( Clone , Debug ) ]
29
29
pub struct StdRng ( Hc128Rng ) ;
30
30
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ const THREAD_RNG_RESEED_THRESHOLD: u64 = 32*1024*1024; // 32 MiB
68
68
/// [`ReseedingRng`]: adapter/struct.ReseedingRng.html
69
69
/// [`StdRng`]: struct.StdRng.html
70
70
/// [`EntropyRng`]: struct.EntropyRng.html
71
- /// [HC-128]: ../prng/hc128 /struct.Hc128Rng.html
71
+ /// [HC-128]: ../../rand_hc128 /struct.Hc128Rng.html
72
72
#[ derive( Clone , Debug ) ]
73
73
pub struct ThreadRng {
74
74
// use of raw pointer implies type is neither Send nor Sync
You can’t perform that action at this time.
0 commit comments