@@ -99,7 +99,7 @@ mod prim_bool {}
9999/// at all we know it can never produce a value which isn't a [`u32`]. This illustrates another
100100/// behaviour of the `!` type - expressions with type `!` will coerce into any other type.
101101///
102- /// [`exit`]: crate:: process::exit
102+ /// [`exit`]: process::exit
103103///
104104/// # `!` and generics
105105///
@@ -354,7 +354,7 @@ mod prim_unit {}
354354//
355355/// Raw, unsafe pointers, `*const T`, and `*mut T`.
356356///
357- /// *[See also the `std::ptr` module][`crate:: ptr`].*
357+ /// *[See also the `std::ptr` module][`ptr`].*
358358///
359359/// Working with raw pointers in Rust is uncommon, typically limited to a few patterns.
360360/// Raw pointers can be unaligned or [`null`]. However, when a raw pointer is
@@ -545,7 +545,7 @@ mod prim_array {}
545545/// means that elements are laid out so that every element is the same
546546/// distance from its neighbors.
547547///
548- /// *[See also the `std::slice` module][`crate:: slice`].*
548+ /// *[See also the `std::slice` module][`slice`].*
549549///
550550/// Slices are a view into a block of memory represented as a pointer and a
551551/// length.
@@ -590,7 +590,7 @@ mod prim_slice {}
590590//
591591/// String slices.
592592///
593- /// *[See also the `std::str` module][`crate:: str`].*
593+ /// *[See also the `std::str` module][`str`].*
594594///
595595/// The `str` type, also called a 'string slice', is the most primitive string
596596/// type. It is usually seen in its borrowed form, `&str`. It is also the type
@@ -785,7 +785,7 @@ mod prim_tuple {}
785785///
786786/// For more information on floating point numbers, see [Wikipedia][wikipedia].
787787///
788- /// *[See also the `std::f32::consts` module][`crate:: f32::consts`].*
788+ /// *[See also the `std::f32::consts` module][`f32::consts`].*
789789///
790790/// [wikipedia]: https://en.wikipedia.org/wiki/Single-precision_floating-point_format
791791#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -799,7 +799,7 @@ mod prim_f32 {}
799799/// `f32`] or [Wikipedia on double precision
800800/// values][wikipedia] for more information.
801801///
802- /// *[See also the `std::f64::consts` module][`crate:: f64::consts`].*
802+ /// *[See also the `std::f64::consts` module][`f64::consts`].*
803803///
804804/// [wikipedia]: https://en.wikipedia.org/wiki/Double-precision_floating-point_format
805805#[ stable( feature = "rust1" , since = "1.0.0" ) ]
0 commit comments