From b4f3c5878f8ee6f893b148fd4c18d65eb0219db1 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Mon, 29 Jun 2015 08:08:59 -0700 Subject: [PATCH] Hide the Rand trait from docs Fixes #26471 --- src/librand/lib.rs | 1 + 1 file changed, 1 insertion(+) 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.