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.