]> git.lizzy.rs Git - rust.git/commitdiff
Hide SampleRange trait from docs
authorUlrik Sverdrup <root@localhost>
Wed, 1 Jul 2015 10:05:57 +0000 (12:05 +0200)
committerUlrik Sverdrup <root@localhost>
Wed, 1 Jul 2015 10:05:57 +0000 (12:05 +0200)
src/librand/distributions/range.rs

index 4916e305b70e369141ad8e7743fe59aebdc78865..dce114d1fc21bf48206761f5a3466e8a2fa3bbf3 100644 (file)
@@ -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