Hide SampleRange trait from docs

This commit is contained in:
Ulrik Sverdrup 2015-07-01 12:05:57 +02:00
parent 9cc0b22475
commit 7dc50b1a07

View file

@ -58,6 +58,7 @@ fn ind_sample<R: Rng>(&self, rng: &mut R) -> Sup {
/// 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