diff options
| author | bors <bors@rust-lang.org> | 2015-07-01 13:39:57 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-07-01 13:39:57 +0000 |
| commit | d4fe2a00276fa14a526409ccaee740ba01a17f3e (patch) | |
| tree | 9aedc13403207ee7149b9ad26345c43189207c06 /src | |
| parent | a9e26b5ced41a3b3a18036c5ba6d44d067a34057 (diff) | |
| parent | 7dc50b1a075da8cbfb707ea02f935c872c2652cc (diff) | |
| download | rust-d4fe2a00276fa14a526409ccaee740ba01a17f3e.tar.gz rust-d4fe2a00276fa14a526409ccaee740ba01a17f3e.zip | |
Auto merge of #26711 - bluss:doc-hide-rand, r=steveklabnik
A follow up to #26530, hide SampleRange too. The numerical types implement this trait.
Diffstat (limited to 'src')
| -rw-r--r-- | src/librand/distributions/range.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librand/distributions/range.rs b/src/librand/distributions/range.rs index 4916e305b70..dce114d1fc2 100644 --- a/src/librand/distributions/range.rs +++ b/src/librand/distributions/range.rs @@ -58,6 +58,7 @@ impl<Sup: SampleRange> IndependentSample<Sup> for Range<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 |
