@@ -99,7 +99,7 @@ mod prim_bool {}
99
99
/// at all we know it can never produce a value which isn't a [`u32`]. This illustrates another
100
100
/// behaviour of the `!` type - expressions with type `!` will coerce into any other type.
101
101
///
102
- /// [`exit`]: crate:: process::exit
102
+ /// [`exit`]: process::exit
103
103
///
104
104
/// # `!` and generics
105
105
///
@@ -354,7 +354,7 @@ mod prim_unit {}
354
354
//
355
355
/// Raw, unsafe pointers, `*const T`, and `*mut T`.
356
356
///
357
- /// *[See also the `std::ptr` module][`crate:: ptr`].*
357
+ /// *[See also the `std::ptr` module][`ptr`].*
358
358
///
359
359
/// Working with raw pointers in Rust is uncommon, typically limited to a few patterns.
360
360
/// Raw pointers can be unaligned or [`null`]. However, when a raw pointer is
@@ -545,7 +545,7 @@ mod prim_array {}
545
545
/// means that elements are laid out so that every element is the same
546
546
/// distance from its neighbors.
547
547
///
548
- /// *[See also the `std::slice` module][`crate:: slice`].*
548
+ /// *[See also the `std::slice` module][`slice`].*
549
549
///
550
550
/// Slices are a view into a block of memory represented as a pointer and a
551
551
/// length.
@@ -590,7 +590,7 @@ mod prim_slice {}
590
590
//
591
591
/// String slices.
592
592
///
593
- /// *[See also the `std::str` module][`crate:: str`].*
593
+ /// *[See also the `std::str` module][`str`].*
594
594
///
595
595
/// The `str` type, also called a 'string slice', is the most primitive string
596
596
/// type. It is usually seen in its borrowed form, `&str`. It is also the type
@@ -785,7 +785,7 @@ mod prim_tuple {}
785
785
///
786
786
/// For more information on floating point numbers, see [Wikipedia][wikipedia].
787
787
///
788
- /// *[See also the `std::f32::consts` module][`crate:: f32::consts`].*
788
+ /// *[See also the `std::f32::consts` module][`f32::consts`].*
789
789
///
790
790
/// [wikipedia]: https://en.wikipedia.org/wiki/Single-precision_floating-point_format
791
791
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -799,7 +799,7 @@ mod prim_f32 {}
799
799
/// `f32`] or [Wikipedia on double precision
800
800
/// values][wikipedia] for more information.
801
801
///
802
- /// *[See also the `std::f64::consts` module][`crate:: f64::consts`].*
802
+ /// *[See also the `std::f64::consts` module][`f64::consts`].*
803
803
///
804
804
/// [wikipedia]: https://en.wikipedia.org/wiki/Double-precision_floating-point_format
805
805
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
0 commit comments