Skip to content

Commit 782b415

Browse files
committed
Deny missing docs
1 parent 18df524 commit 782b415

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/distributions/range.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ impl<X: SampleRange> Distribution<X> for Range<X> {
8888
/// Helper trait for creating objects using the correct implementation of
8989
/// `RangeImpl` for the sampling type; this enables `Range::new(a, b)` to work.
9090
pub trait SampleRange: PartialOrd+Sized {
91+
/// Actual `RangeImpl` implementation for `X`.
9192
type T: RangeImpl<X = Self>;
9293
}
9394

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@
182182
html_favicon_url = "https://www.rust-lang.org/favicon.ico",
183183
html_root_url = "https://docs.rs/rand/0.5")]
184184

185+
#![deny(missing_docs)]
185186
#![deny(missing_debug_implementations)]
186187
#![doc(test(attr(allow(unused_variables), deny(warnings))))]
187188

src/prng/chacha.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ impl ChaChaRng {
182182
}
183183
}
184184

185+
/// The core of `ChaChaRng`, used with `BlockRng`.
185186
#[derive(Clone)]
186187
pub struct ChaChaCore {
187188
state: [u32; STATE_WORDS],

0 commit comments

Comments
 (0)