Skip to content

Commit d4fe2a0

Browse files
committed
Auto merge of #26711 - bluss:doc-hide-rand, r=steveklabnik
A follow up to #26530, hide SampleRange too. The numerical types implement this trait.
2 parents a9e26b5 + 7dc50b1 commit d4fe2a0

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)