File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -306,6 +306,13 @@ impl<R: TryCryptoRng> CryptoRng for UnwrapErr<R> {}
306
306
/// This trait encapsulates the low-level functionality common to all
307
307
/// pseudo-random number generators (PRNGs, or algorithmic generators).
308
308
///
309
+ /// A generator implementing `SeedableRng` will usually be deterministic, but
310
+ /// beware that portability and reproducibility of results **is not implied**.
311
+ /// Refer to documentation of the generator, noting that generators named after
312
+ /// a specific algorithm are usually tested for reproducibility against a
313
+ /// reference vector, while `SmallRng` and `StdRng` specifically opt out of
314
+ /// reproducibility guarantees.
315
+ ///
309
316
/// [`rand`]: https://docs.rs/rand
310
317
pub trait SeedableRng : Sized {
311
318
/// Seed type, which is restricted to types mutably-dereferenceable as `u8`
You can’t perform that action at this time.
0 commit comments