add link from random() helper fn to extensive DefaultRandomSource docs
This commit is contained in:
parent
1b5aa96d60
commit
1fe049ad57
@ -71,7 +71,8 @@ fn fill_bytes(&mut self, bytes: &mut [u8]) {
|
||||
///
|
||||
/// This is a convenience function for `T::random(&mut DefaultRandomSource)` and
|
||||
/// will sample according to the same distribution as the underlying [`Random`]
|
||||
/// trait implementation.
|
||||
/// trait implementation. See [`DefaultRandomSource`] for more information about
|
||||
/// how randomness is sourced.
|
||||
///
|
||||
/// **Warning:** Be careful when manipulating random values! The
|
||||
/// [`random`](Random::random) method on integers samples them with a uniform
|
||||
|
Loading…
Reference in New Issue
Block a user