From 7dc50b1a075da8cbfb707ea02f935c872c2652cc Mon Sep 17 00:00:00 2001 From: Ulrik Sverdrup Date: Wed, 1 Jul 2015 12:05:57 +0200 Subject: [PATCH] Hide SampleRange trait from docs --- src/librand/distributions/range.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librand/distributions/range.rs b/src/librand/distributions/range.rs index 4916e305b70e3..dce114d1fc21b 100644 --- a/src/librand/distributions/range.rs +++ b/src/librand/distributions/range.rs @@ -58,6 +58,7 @@ impl IndependentSample for Range { /// The helper trait for types that have a sensible way to sample /// uniformly between two values. This should not be used directly, /// and is only to facilitate `Range`. +#[doc(hidden)] pub trait SampleRange { /// Construct the `Range` object that `sample_range` /// requires. This should not ever be called directly, only via