@@ -339,7 +339,7 @@ pub trait Rand : Sized {
339
339
/// }
340
340
/// ```
341
341
///
342
- /// [`RngCore`]: https://docs.rs/rand_core/0.1/rand_core/ trait.RngCore.html
342
+ /// [`RngCore`]: trait.RngCore.html
343
343
pub trait Rng : RngCore {
344
344
/// Return a random value supporting the [`Uniform`] distribution.
345
345
///
@@ -423,7 +423,7 @@ pub trait Rng: RngCore {
423
423
/// thread_rng().fill(&mut arr[..]);
424
424
/// ```
425
425
///
426
- /// [`fill_bytes`]: https://docs.rs/rand_core/0.1/rand_core/ trait.RngCore.html#method.fill_bytes
426
+ /// [`fill_bytes`]: trait.RngCore.html#method.fill_bytes
427
427
/// [`try_fill`]: trait.Rng.html#method.try_fill
428
428
/// [`AsByteSliceMut`]: trait.AsByteSliceMut.html
429
429
fn fill < T : AsByteSliceMut + ?Sized > ( & mut self , dest : & mut T ) {
@@ -458,8 +458,8 @@ pub trait Rng: RngCore {
458
458
/// # try_inner().unwrap()
459
459
/// ```
460
460
///
461
- /// [`ErrorKind`]: https://docs.rs/rand_core/0.1/rand_core/ enum.ErrorKind.html
462
- /// [`try_fill_bytes`]: https://docs.rs/rand_core/0.1/rand_core/ trait.RngCore.html#method.try_fill_bytes
461
+ /// [`ErrorKind`]: enum.ErrorKind.html
462
+ /// [`try_fill_bytes`]: trait.RngCore.html#method.try_fill_bytes
463
463
/// [`fill`]: trait.Rng.html#method.fill
464
464
/// [`AsByteSliceMut`]: trait.AsByteSliceMut.html
465
465
fn try_fill < T : AsByteSliceMut + ?Sized > ( & mut self , dest : & mut T ) -> Result < ( ) , Error > {
@@ -753,8 +753,8 @@ impl<R: RngCore> Iterator for AsciiGenerator<R> {
753
753
/// ```
754
754
///
755
755
/// [`EntropyRng`]: struct.EntropyRng.html
756
- /// [`SeedableRng`]: https://docs.rs/rand_core/0.1/rand_core/ trait.SeedableRng.html
757
- /// [`SeedableRng::from_seed`]: https://docs.rs/rand_core/0.1/rand_core/ trait.SeedableRng.html#tymethod.from_seed
756
+ /// [`SeedableRng`]: trait.SeedableRng.html
757
+ /// [`SeedableRng::from_seed`]: trait.SeedableRng.html#tymethod.from_seed
758
758
#[ cfg( feature="std" ) ]
759
759
pub trait NewRng : SeedableRng {
760
760
/// Creates a new instance, automatically seeded with fresh entropy.
0 commit comments