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:
commit
d4fe2a0027
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue