Skip to content

Commit bbdb1f0

Browse files
committed
Clean up some intra-doc links
1 parent 3084a55 commit bbdb1f0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

library/std/src/primitive_docs.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ mod prim_unit {}
389389
//
390390
/// Raw, unsafe pointers, `*const T`, and `*mut T`.
391391
///
392-
/// *[See also the `std::ptr` module][`ptr`].*
392+
/// *[See also the `std::ptr` module](ptr).*
393393
///
394394
/// Working with raw pointers in Rust is uncommon, typically limited to a few patterns.
395395
/// Raw pointers can be unaligned or [`null`]. However, when a raw pointer is
@@ -580,7 +580,7 @@ mod prim_array {}
580580
/// means that elements are laid out so that every element is the same
581581
/// distance from its neighbors.
582582
///
583-
/// *[See also the `std::slice` module][`crate::slice`].*
583+
/// *[See also the `std::slice` module](crate::slice).*
584584
///
585585
/// Slices are a view into a block of memory represented as a pointer and a
586586
/// length.
@@ -625,7 +625,7 @@ mod prim_slice {}
625625
//
626626
/// String slices.
627627
///
628-
/// *[See also the `std::str` module][`crate::str`].*
628+
/// *[See also the `std::str` module](crate::str).*
629629
///
630630
/// The `str` type, also called a 'string slice', is the most primitive string
631631
/// type. It is usually seen in its borrowed form, `&str`. It is also the type
@@ -820,7 +820,7 @@ mod prim_tuple {}
820820
///
821821
/// For more information on floating point numbers, see [Wikipedia][wikipedia].
822822
///
823-
/// *[See also the `std::f32::consts` module][`crate::f32::consts`].*
823+
/// *[See also the `std::f32::consts` module](crate::f32::consts).*
824824
///
825825
/// [wikipedia]: https://en.wikipedia.org/wiki/Single-precision_floating-point_format
826826
#[stable(feature = "rust1", since = "1.0.0")]
@@ -834,7 +834,7 @@ mod prim_f32 {}
834834
/// `f32`][`f32`] or [Wikipedia on double precision
835835
/// values][wikipedia] for more information.
836836
///
837-
/// *[See also the `std::f64::consts` module][`crate::f64::consts`].*
837+
/// *[See also the `std::f64::consts` module](crate::f64::consts).*
838838
///
839839
/// [`f32`]: prim@f32
840840
/// [wikipedia]: https://en.wikipedia.org/wiki/Double-precision_floating-point_format

0 commit comments

Comments
 (0)