@@ -994,7 +994,7 @@ macro_rules! uint_impl {
994
994
/// RHS of a wrapping shift-left is restricted to the range
995
995
/// of the type, rather than the bits shifted out of the LHS
996
996
/// being returned to the other end. The primitive integer
997
- /// types all implement a [`rotate_left`](#method. rotate_left) function,
997
+ /// types all implement a [`rotate_left`](Self:: rotate_left) function,
998
998
/// which may be what you want instead.
999
999
///
1000
1000
/// # Examples
@@ -1026,7 +1026,7 @@ macro_rules! uint_impl {
1026
1026
/// RHS of a wrapping shift-right is restricted to the range
1027
1027
/// of the type, rather than the bits shifted out of the LHS
1028
1028
/// being returned to the other end. The primitive integer
1029
- /// types all implement a [`rotate_right`](#method. rotate_right) function,
1029
+ /// types all implement a [`rotate_right`](Self:: rotate_right) function,
1030
1030
/// which may be what you want instead.
1031
1031
///
1032
1032
/// # Examples
@@ -1642,8 +1642,8 @@ macro_rules! uint_impl {
1642
1642
///
1643
1643
#[ doc = $to_xe_bytes_doc]
1644
1644
///
1645
- /// [`to_be_bytes`]: #method. to_be_bytes
1646
- /// [`to_le_bytes`]: #method. to_le_bytes
1645
+ /// [`to_be_bytes`]: Self:: to_be_bytes
1646
+ /// [`to_le_bytes`]: Self:: to_le_bytes
1647
1647
///
1648
1648
/// # Examples
1649
1649
///
@@ -1675,7 +1675,7 @@ macro_rules! uint_impl {
1675
1675
///
1676
1676
/// [`to_ne_bytes`] should be preferred over this whenever possible.
1677
1677
///
1678
- /// [`to_ne_bytes`]: #method. to_ne_bytes
1678
+ /// [`to_ne_bytes`]: Self:: to_ne_bytes
1679
1679
///
1680
1680
/// # Examples
1681
1681
///
@@ -1767,8 +1767,8 @@ macro_rules! uint_impl {
1767
1767
/// likely wants to use [`from_be_bytes`] or [`from_le_bytes`], as
1768
1768
/// appropriate instead.
1769
1769
///
1770
- /// [`from_be_bytes`]: #method. from_be_bytes
1771
- /// [`from_le_bytes`]: #method. from_le_bytes
1770
+ /// [`from_be_bytes`]: Self:: from_be_bytes
1771
+ /// [`from_le_bytes`]: Self:: from_le_bytes
1772
1772
///
1773
1773
#[ doc = $from_xe_bytes_doc]
1774
1774
///
@@ -1806,8 +1806,7 @@ macro_rules! uint_impl {
1806
1806
}
1807
1807
1808
1808
/// New code should prefer to use
1809
- #[ doc = concat!( "[`" , stringify!( $SelfT) , "::MIN" , "`](#associatedconstant.MIN)." ) ]
1810
- /// instead.
1809
+ #[ doc = concat!( "[`" , stringify!( $SelfT) , "::MIN" , "`] instead." ) ]
1811
1810
///
1812
1811
/// Returns the smallest value that can be represented by this integer type.
1813
1812
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -1818,8 +1817,7 @@ macro_rules! uint_impl {
1818
1817
pub const fn min_value( ) -> Self { Self :: MIN }
1819
1818
1820
1819
/// New code should prefer to use
1821
- #[ doc = concat!( "[`" , stringify!( $SelfT) , "::MAX" , "`](#associatedconstant.MAX)." ) ]
1822
- /// instead.
1820
+ #[ doc = concat!( "[`" , stringify!( $SelfT) , "::MAX" , "`] instead." ) ]
1823
1821
///
1824
1822
/// Returns the largest value that can be represented by this integer type.
1825
1823
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
0 commit comments