@@ -312,7 +312,7 @@ pub trait Rand : Sized {
312
312
/// # let v = foo(&mut thread_rng());
313
313
/// ```
314
314
///
315
- /// [`RngCore`]: https://docs.rs/rand_core/0.1/rand_core/ trait.RngCore.html
315
+ /// [`RngCore`]: trait.RngCore.html
316
316
pub trait Rng : RngCore {
317
317
/// Fill `dest` entirely with random bytes (uniform value distribution),
318
318
/// where `dest` is any type supporting [`AsByteSliceMut`], namely slices
@@ -334,7 +334,7 @@ pub trait Rng: RngCore {
334
334
/// thread_rng().fill(&mut arr[..]);
335
335
/// ```
336
336
///
337
- /// [`fill_bytes`]: https://docs.rs/rand_core/0.1/rand_core/ trait.RngCore.html#method.fill_bytes
337
+ /// [`fill_bytes`]: trait.RngCore.html#method.fill_bytes
338
338
/// [`try_fill`]: trait.Rng.html#method.try_fill
339
339
/// [`AsByteSliceMut`]: trait.AsByteSliceMut.html
340
340
fn fill < T : AsByteSliceMut + ?Sized > ( & mut self , dest : & mut T ) {
@@ -369,8 +369,8 @@ pub trait Rng: RngCore {
369
369
/// # try_inner().unwrap()
370
370
/// ```
371
371
///
372
- /// [`ErrorKind`]: https://docs.rs/rand_core/0.1/rand_core/ enum.ErrorKind.html
373
- /// [`try_fill_bytes`]: https://docs.rs/rand_core/0.1/rand_core/ trait.RngCore.html#method.try_fill_bytes
372
+ /// [`ErrorKind`]: enum.ErrorKind.html
373
+ /// [`try_fill_bytes`]: trait.RngCore.html#method.try_fill_bytes
374
374
/// [`fill`]: trait.Rng.html#method.fill
375
375
/// [`AsByteSliceMut`]: trait.AsByteSliceMut.html
376
376
fn try_fill < T : AsByteSliceMut + ?Sized > ( & mut self , dest : & mut T ) -> Result < ( ) , Error > {
@@ -784,8 +784,8 @@ impl<R: RngCore> Iterator for AsciiGenerator<R> {
784
784
/// ```
785
785
///
786
786
/// [`EntropyRng`]: struct.EntropyRng.html
787
- /// [`SeedableRng`]: https://docs.rs/rand_core/0.1/rand_core/ trait.SeedableRng.html
788
- /// [`SeedableRng::from_seed`]: https://docs.rs/rand_core/0.1/rand_core/ trait.SeedableRng.html#tymethod.from_seed
787
+ /// [`SeedableRng`]: trait.SeedableRng.html
788
+ /// [`SeedableRng::from_seed`]: trait.SeedableRng.html#tymethod.from_seed
789
789
#[ cfg( feature="std" ) ]
790
790
pub trait NewRng : SeedableRng {
791
791
/// Creates a new instance, automatically seeded with fresh entropy.
0 commit comments