Auto merge of #26711 - bluss:doc-hide-rand, r=steveklabnik

A follow up to #26530, hide SampleRange too. The numerical types implement this trait.
This commit is contained in:
bors 2015-07-01 13:39:57 +00:00
commit d4fe2a0027

View file

@ -58,6 +58,7 @@ impl<Sup: SampleRange> IndependentSample<Sup> for Range<Sup> {
/// The helper trait for types that have a sensible way to sample /// The helper trait for types that have a sensible way to sample
/// uniformly between two values. This should not be used directly, /// uniformly between two values. This should not be used directly,
/// and is only to facilitate `Range`. /// and is only to facilitate `Range`.
#[doc(hidden)]
pub trait SampleRange { pub trait SampleRange {
/// Construct the `Range` object that `sample_range` /// Construct the `Range` object that `sample_range`
/// requires. This should not ever be called directly, only via /// requires. This should not ever be called directly, only via