File tree 3 files changed +3
-0
lines changed
3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ impl<X: SampleRange> Distribution<X> for Range<X> {
88
88
/// Helper trait for creating objects using the correct implementation of
89
89
/// `RangeImpl` for the sampling type; this enables `Range::new(a, b)` to work.
90
90
pub trait SampleRange : PartialOrd +Sized {
91
+ /// Actual `RangeImpl` implementation for `X`.
91
92
type T : RangeImpl < X = Self > ;
92
93
}
93
94
Original file line number Diff line number Diff line change 182
182
html_favicon_url = "https://www.rust-lang.org/favicon.ico" ,
183
183
html_root_url = "https://docs.rs/rand/0.5" ) ]
184
184
185
+ #![ deny( missing_docs) ]
185
186
#![ deny( missing_debug_implementations) ]
186
187
#![ doc( test( attr( allow( unused_variables) , deny( warnings) ) ) ) ]
187
188
Original file line number Diff line number Diff line change @@ -182,6 +182,7 @@ impl ChaChaRng {
182
182
}
183
183
}
184
184
185
+ /// The core of `ChaChaRng`, used with `BlockRng`.
185
186
#[ derive( Clone ) ]
186
187
pub struct ChaChaCore {
187
188
state : [ u32 ; STATE_WORDS ] ,
You can’t perform that action at this time.
0 commit comments