Use crate::mod to disambiguate links
This commit is contained in:
parent
f10ab91391
commit
621cbaafff
@ -545,7 +545,7 @@ mod prim_array {}
|
||||
/// means that elements are laid out so that every element is the same
|
||||
/// distance from its neighbors.
|
||||
///
|
||||
/// *[See also the `std::slice` module][`slice`].*
|
||||
/// *[See also the `std::slice` module][`crate::slice`].*
|
||||
///
|
||||
/// Slices are a view into a block of memory represented as a pointer and a
|
||||
/// length.
|
||||
@ -590,7 +590,7 @@ mod prim_slice {}
|
||||
//
|
||||
/// String slices.
|
||||
///
|
||||
/// *[See also the `std::str` module][`str`].*
|
||||
/// *[See also the `std::str` module][`crate::str`].*
|
||||
///
|
||||
/// The `str` type, also called a 'string slice', is the most primitive string
|
||||
/// type. It is usually seen in its borrowed form, `&str`. It is also the type
|
||||
@ -785,7 +785,7 @@ mod prim_tuple {}
|
||||
///
|
||||
/// For more information on floating point numbers, see [Wikipedia][wikipedia].
|
||||
///
|
||||
/// *[See also the `std::f32::consts` module][`f32::consts`].*
|
||||
/// *[See also the `std::f32::consts` module][`crate::f32::consts`].*
|
||||
///
|
||||
/// [wikipedia]: https://en.wikipedia.org/wiki/Single-precision_floating-point_format
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
@ -799,7 +799,7 @@ mod prim_f32 {}
|
||||
/// `f32`] or [Wikipedia on double precision
|
||||
/// values][wikipedia] for more information.
|
||||
///
|
||||
/// *[See also the `std::f64::consts` module][`f64::consts`].*
|
||||
/// *[See also the `std::f64::consts` module][`crate::f64::consts`].*
|
||||
///
|
||||
/// [wikipedia]: https://en.wikipedia.org/wiki/Double-precision_floating-point_format
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
|
Loading…
Reference in New Issue
Block a user