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