about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/std/src/random.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/std/src/random.rs b/library/std/src/random.rs
index ecbf02eee84..604fa4df110 100644
--- a/library/std/src/random.rs
+++ b/library/std/src/random.rs
@@ -71,7 +71,8 @@ impl RandomSource for DefaultRandomSource {
 ///
 /// 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