@@ -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][`slice`].*
548
+ /// *[See also the `std::slice` module][`crate:: 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][`str`].*
593
+ /// *[See also the `std::str` module][`crate:: 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][`f32::consts`].*
788
+ /// *[See also the `std::f32::consts` module][`crate:: 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][`f64::consts`].*
802
+ /// *[See also the `std::f64::consts` module][`crate:: 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