@@ -141,23 +141,23 @@ pub trait RngCore {
141
141
/// RNGs must implement at least one method from this trait directly. In
142
142
/// the case this method is not implemented directly, it can be implemented
143
143
/// using `self.next_u64() as u32` or via
144
- /// [`fill_bytes`][ impls::next_u32_via_fill] .
144
+ /// [`fill_bytes`]( impls::next_u32_via_fill) .
145
145
fn next_u32 ( & mut self ) -> u32 ;
146
146
147
147
/// Return the next random `u64`.
148
148
///
149
149
/// RNGs must implement at least one method from this trait directly. In
150
150
/// the case this method is not implemented directly, it can be implemented
151
- /// via [`next_u32`][ impls::next_u64_via_u32] or via
152
- /// [`fill_bytes`][ impls::next_u64_via_fill] .
151
+ /// via [`next_u32`]( impls::next_u64_via_u32) or via
152
+ /// [`fill_bytes`]( impls::next_u64_via_fill) .
153
153
fn next_u64 ( & mut self ) -> u64 ;
154
154
155
155
/// Fill `dest` with random data.
156
156
///
157
157
/// RNGs must implement at least one method from this trait directly. In
158
158
/// the case this method is not implemented directly, it can be implemented
159
- /// via [`next_u*`][ impls::fill_bytes_via_next] or
160
- /// via [`try_fill_bytes`][ RngCore::try_fill_bytes] ; if this generator can
159
+ /// via [`next_u*`]( impls::fill_bytes_via_next) or
160
+ /// via [`try_fill_bytes`]( RngCore::try_fill_bytes) ; if this generator can
161
161
/// fail the implementation must choose how best to handle errors here
162
162
/// (e.g. panic with a descriptive message or log a warning and retry a few
163
163
/// times).
0 commit comments