summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrik Sverdrup <root@localhost>2015-07-01 12:05:57 +0200
committerUlrik Sverdrup <root@localhost>2015-07-01 12:05:57 +0200
commit7dc50b1a075da8cbfb707ea02f935c872c2652cc (patch)
treee1c13d7c7df5e4eb8a3fb88989ae2473c7f497d8
parent9cc0b2247509d61d6a246a5c5ad67f84b9a2d8b6 (diff)
downloadrust-7dc50b1a075da8cbfb707ea02f935c872c2652cc.tar.gz
rust-7dc50b1a075da8cbfb707ea02f935c872c2652cc.zip
Hide SampleRange trait from docs
-rw-r--r--src/librand/distributions/range.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librand/distributions/range.rs b/src/librand/distributions/range.rs
index 4916e305b70..dce114d1fc2 100644
--- a/src/librand/distributions/range.rs
+++ b/src/librand/distributions/range.rs
@@ -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