Workaround issue 122566
This commit is contained in:
parent
9eb26d734e
commit
50392ccc5a
2 changed files with 6 additions and 6 deletions
|
@ -504,7 +504,7 @@ macro_rules! int_impl {
|
|||
#[doc = concat!("`self + rhs > ", stringify!($SelfT), "::MAX` or `self + rhs < ", stringify!($SelfT), "::MIN`,")]
|
||||
/// i.e. when [`checked_add`] would return `None`.
|
||||
///
|
||||
/// [`unwrap_unchecked`]: Option::unwrap_unchecked
|
||||
/// [`unwrap_unchecked`]: option/enum.Option.html#method.unwrap_unchecked
|
||||
#[doc = concat!("[`checked_add`]: ", stringify!($SelfT), "::checked_add")]
|
||||
#[doc = concat!("[`wrapping_add`]: ", stringify!($SelfT), "::wrapping_add")]
|
||||
#[stable(feature = "unchecked_math", since = "CURRENT_RUSTC_VERSION")]
|
||||
|
@ -646,7 +646,7 @@ macro_rules! int_impl {
|
|||
#[doc = concat!("`self - rhs > ", stringify!($SelfT), "::MAX` or `self - rhs < ", stringify!($SelfT), "::MIN`,")]
|
||||
/// i.e. when [`checked_sub`] would return `None`.
|
||||
///
|
||||
/// [`unwrap_unchecked`]: Option::unwrap_unchecked
|
||||
/// [`unwrap_unchecked`]: option/enum.Option.html#method.unwrap_unchecked
|
||||
#[doc = concat!("[`checked_sub`]: ", stringify!($SelfT), "::checked_sub")]
|
||||
#[doc = concat!("[`wrapping_sub`]: ", stringify!($SelfT), "::wrapping_sub")]
|
||||
#[stable(feature = "unchecked_math", since = "CURRENT_RUSTC_VERSION")]
|
||||
|
@ -788,7 +788,7 @@ macro_rules! int_impl {
|
|||
#[doc = concat!("`self * rhs > ", stringify!($SelfT), "::MAX` or `self * rhs < ", stringify!($SelfT), "::MIN`,")]
|
||||
/// i.e. when [`checked_mul`] would return `None`.
|
||||
///
|
||||
/// [`unwrap_unchecked`]: Option::unwrap_unchecked
|
||||
/// [`unwrap_unchecked`]: option/enum.Option.html#method.unwrap_unchecked
|
||||
#[doc = concat!("[`checked_mul`]: ", stringify!($SelfT), "::checked_mul")]
|
||||
#[doc = concat!("[`wrapping_mul`]: ", stringify!($SelfT), "::wrapping_mul")]
|
||||
#[stable(feature = "unchecked_math", since = "CURRENT_RUSTC_VERSION")]
|
||||
|
|
|
@ -512,7 +512,7 @@ macro_rules! uint_impl {
|
|||
#[doc = concat!("`self + rhs > ", stringify!($SelfT), "::MAX` or `self + rhs < ", stringify!($SelfT), "::MIN`,")]
|
||||
/// i.e. when [`checked_add`] would return `None`.
|
||||
///
|
||||
/// [`unwrap_unchecked`]: Option::unwrap_unchecked
|
||||
/// [`unwrap_unchecked`]: option/enum.Option.html#method.unwrap_unchecked
|
||||
#[doc = concat!("[`checked_add`]: ", stringify!($SelfT), "::checked_add")]
|
||||
#[doc = concat!("[`wrapping_add`]: ", stringify!($SelfT), "::wrapping_add")]
|
||||
#[stable(feature = "unchecked_math", since = "CURRENT_RUSTC_VERSION")]
|
||||
|
@ -660,7 +660,7 @@ macro_rules! uint_impl {
|
|||
#[doc = concat!("`self - rhs > ", stringify!($SelfT), "::MAX` or `self - rhs < ", stringify!($SelfT), "::MIN`,")]
|
||||
/// i.e. when [`checked_sub`] would return `None`.
|
||||
///
|
||||
/// [`unwrap_unchecked`]: Option::unwrap_unchecked
|
||||
/// [`unwrap_unchecked`]: option/enum.Option.html#method.unwrap_unchecked
|
||||
#[doc = concat!("[`checked_sub`]: ", stringify!($SelfT), "::checked_sub")]
|
||||
#[doc = concat!("[`wrapping_sub`]: ", stringify!($SelfT), "::wrapping_sub")]
|
||||
#[stable(feature = "unchecked_math", since = "CURRENT_RUSTC_VERSION")]
|
||||
|
@ -746,7 +746,7 @@ macro_rules! uint_impl {
|
|||
#[doc = concat!("`self * rhs > ", stringify!($SelfT), "::MAX` or `self * rhs < ", stringify!($SelfT), "::MIN`,")]
|
||||
/// i.e. when [`checked_mul`] would return `None`.
|
||||
///
|
||||
/// [`unwrap_unchecked`]: Option::unwrap_unchecked
|
||||
/// [`unwrap_unchecked`]: option/enum.Option.html#method.unwrap_unchecked
|
||||
#[doc = concat!("[`checked_mul`]: ", stringify!($SelfT), "::checked_mul")]
|
||||
#[doc = concat!("[`wrapping_mul`]: ", stringify!($SelfT), "::wrapping_mul")]
|
||||
#[stable(feature = "unchecked_math", since = "CURRENT_RUSTC_VERSION")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue