Skip to content

Commit 7dc50b1

Browse files
author
Ulrik Sverdrup
committed
Hide SampleRange trait from docs
1 parent 9cc0b22 commit 7dc50b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librand/distributions/range.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ impl<Sup: SampleRange> IndependentSample<Sup> for Range<Sup> {
5858
/// The helper trait for types that have a sensible way to sample
5959
/// uniformly between two values. This should not be used directly,
6060
/// and is only to facilitate `Range`.
61+
#[doc(hidden)]
6162
pub trait SampleRange {
6263
/// Construct the `Range` object that `sample_range`
6364
/// requires. This should not ever be called directly, only via

0 commit comments

Comments
 (0)