mirror of
https://github.com/rust-lang/rust
synced 2024-09-15 22:50:55 +00:00
Hide SampleRange trait from docs
This commit is contained in:
parent
9cc0b22475
commit
7dc50b1a07
|
@ -58,6 +58,7 @@ fn ind_sample<R: Rng>(&self, rng: &mut R) -> 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 a new issue