mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-18 01:44:04 +00:00
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
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user