File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,13 @@ type Rng = ::rand_pcg::Pcg32;
24
24
/// future library versions may use a different internal generator with
25
25
/// different output. Further, this generator may not be portable and can
26
26
/// produce different output depending on the architecture. If you require
27
- /// reproducible output, use a named RNG. Refer to the documentation on the
28
- /// [`prng`][crate::prng] module.
27
+ /// reproducible output, use a named RNG.
28
+ /// Refer to [The Book](https://rust-random.github.io/book/guide-rngs.html).
29
+ ///
29
30
///
30
31
/// The current algorithm is [`Pcg64Mcg`][rand_pcg::Pcg64Mcg] on 64-bit platforms with Rust version
31
- /// 1.26 and later, or [`Pcg32`][rand_pcg::Pcg32] otherwise.
32
+ /// 1.26 and later, or [`Pcg32`][rand_pcg::Pcg32] otherwise. Both are found in
33
+ /// the [rand_pcg] crate.
32
34
///
33
35
/// # Examples
34
36
///
@@ -67,6 +69,7 @@ type Rng = ::rand_pcg::Pcg32;
67
69
/// [`FromEntropy`]: crate::FromEntropy
68
70
/// [`StdRng`]: crate::rngs::StdRng
69
71
/// [`thread_rng`]: crate::thread_rng
72
+ /// [rand_pcg]: https://crates.io/crates/rand_pcg
70
73
#[ derive( Clone , Debug ) ]
71
74
pub struct SmallRng ( Rng ) ;
72
75
You can’t perform that action at this time.
0 commit comments