about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-06-29 08:08:59 -0700
committerSteve Klabnik <steve@steveklabnik.com>2015-06-29 08:08:59 -0700
commitb4f3c5878f8ee6f893b148fd4c18d65eb0219db1 (patch)
tree02ec9ce235fb2de49968e8eb722255712aadf3b9
parent6fed735b22ef66918cf78c3df9a7922df9ed7954 (diff)
downloadrust-b4f3c5878f8ee6f893b148fd4c18d65eb0219db1.tar.gz
rust-b4f3c5878f8ee6f893b148fd4c18d65eb0219db1.zip
Hide the Rand trait from docs
Fixes #26471
-rw-r--r--src/librand/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librand/lib.rs b/src/librand/lib.rs
index ec510b4a5bd..2f76aa53f83 100644
--- a/src/librand/lib.rs
+++ b/src/librand/lib.rs
@@ -66,6 +66,7 @@ pub mod reseeding;
 mod rand_impls;
 
 /// A type that can be randomly generated using an `Rng`.
+#[doc(hidden)]
 pub trait Rand : Sized {
     /// Generates a random instance of this type using the specified source of
     /// randomness.