mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-04 11:04:03 +00:00
Convert the rest of the standard library primitives to intra-doc links
Note that float methods in `core::intrinsics` weren't converted because they are only defined in `std` (using language item hacks).
This commit is contained in:
parent
9a75f4fed1
commit
4d46735b8e
@ -9,8 +9,7 @@
|
||||
//! [Unicode code point]: http://www.unicode.org/glossary/#code_point
|
||||
//!
|
||||
//! This module exists for technical reasons, the primary documentation for
|
||||
//! `char` is directly on [the `char` primitive type](../../std/primitive.char.html)
|
||||
//! itself.
|
||||
//! `char` is directly on [the `char` primitive type][char] itself.
|
||||
//!
|
||||
//! This module is the home of the iterator implementations for the iterators
|
||||
//! implemented on `char`, as well as some useful constants and conversion
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Constants specific to the `f32` single-precision floating point type.
|
||||
//!
|
||||
//! *[See also the `f32` primitive type](../../std/primitive.f32.html).*
|
||||
//! *[See also the `f32` primitive type][f32].*
|
||||
//!
|
||||
//! Mathematically significant numbers are provided in the `consts` sub-module.
|
||||
//!
|
||||
@ -35,7 +35,7 @@ use crate::num::FpCategory;
|
||||
pub const RADIX: u32 = f32::RADIX;
|
||||
|
||||
/// Number of significant digits in base 2.
|
||||
/// Use [`f32::MANTISSA_DIGITS`](../../std/primitive.f32.html#associatedconstant.MANTISSA_DIGITS) instead.
|
||||
/// Use [`f32::MANTISSA_DIGITS`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -55,7 +55,7 @@ pub const RADIX: u32 = f32::RADIX;
|
||||
pub const MANTISSA_DIGITS: u32 = f32::MANTISSA_DIGITS;
|
||||
|
||||
/// Approximate number of significant digits in base 10.
|
||||
/// Use [`f32::DIGITS`](../../std/primitive.f32.html#associatedconstant.DIGITS) instead.
|
||||
/// Use [`f32::DIGITS`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -72,7 +72,7 @@ pub const MANTISSA_DIGITS: u32 = f32::MANTISSA_DIGITS;
|
||||
pub const DIGITS: u32 = f32::DIGITS;
|
||||
|
||||
/// [Machine epsilon] value for `f32`.
|
||||
/// Use [`f32::EPSILON`](../../std/primitive.f32.html#associatedconstant.EPSILON) instead.
|
||||
/// Use [`f32::EPSILON`] instead.
|
||||
///
|
||||
/// This is the difference between `1.0` and the next larger representable number.
|
||||
///
|
||||
@ -96,7 +96,7 @@ pub const DIGITS: u32 = f32::DIGITS;
|
||||
pub const EPSILON: f32 = f32::EPSILON;
|
||||
|
||||
/// Smallest finite `f32` value.
|
||||
/// Use [`f32::MIN`](../../std/primitive.f32.html#associatedconstant.MIN) instead.
|
||||
/// Use [`f32::MIN`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -113,7 +113,7 @@ pub const EPSILON: f32 = f32::EPSILON;
|
||||
pub const MIN: f32 = f32::MIN;
|
||||
|
||||
/// Smallest positive normal `f32` value.
|
||||
/// Use [`f32::MIN_POSITIVE`](../../std/primitive.f32.html#associatedconstant.MIN_POSITIVE) instead.
|
||||
/// Use [`f32::MIN_POSITIVE`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -133,7 +133,7 @@ pub const MIN: f32 = f32::MIN;
|
||||
pub const MIN_POSITIVE: f32 = f32::MIN_POSITIVE;
|
||||
|
||||
/// Largest finite `f32` value.
|
||||
/// Use [`f32::MAX`](../../std/primitive.f32.html#associatedconstant.MAX) instead.
|
||||
/// Use [`f32::MAX`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -150,7 +150,7 @@ pub const MIN_POSITIVE: f32 = f32::MIN_POSITIVE;
|
||||
pub const MAX: f32 = f32::MAX;
|
||||
|
||||
/// One greater than the minimum possible normal power of 2 exponent.
|
||||
/// Use [`f32::MIN_EXP`](../../std/primitive.f32.html#associatedconstant.MIN_EXP) instead.
|
||||
/// Use [`f32::MIN_EXP`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -170,7 +170,7 @@ pub const MAX: f32 = f32::MAX;
|
||||
pub const MIN_EXP: i32 = f32::MIN_EXP;
|
||||
|
||||
/// Maximum possible power of 2 exponent.
|
||||
/// Use [`f32::MAX_EXP`](../../std/primitive.f32.html#associatedconstant.MAX_EXP) instead.
|
||||
/// Use [`f32::MAX_EXP`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -190,7 +190,7 @@ pub const MIN_EXP: i32 = f32::MIN_EXP;
|
||||
pub const MAX_EXP: i32 = f32::MAX_EXP;
|
||||
|
||||
/// Minimum possible normal power of 10 exponent.
|
||||
/// Use [`f32::MIN_10_EXP`](../../std/primitive.f32.html#associatedconstant.MIN_10_EXP) instead.
|
||||
/// Use [`f32::MIN_10_EXP`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -210,7 +210,7 @@ pub const MAX_EXP: i32 = f32::MAX_EXP;
|
||||
pub const MIN_10_EXP: i32 = f32::MIN_10_EXP;
|
||||
|
||||
/// Maximum possible power of 10 exponent.
|
||||
/// Use [`f32::MAX_10_EXP`](../../std/primitive.f32.html#associatedconstant.MAX_10_EXP) instead.
|
||||
/// Use [`f32::MAX_10_EXP`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -230,7 +230,7 @@ pub const MIN_10_EXP: i32 = f32::MIN_10_EXP;
|
||||
pub const MAX_10_EXP: i32 = f32::MAX_10_EXP;
|
||||
|
||||
/// Not a Number (NaN).
|
||||
/// Use [`f32::NAN`](../../std/primitive.f32.html#associatedconstant.NAN) instead.
|
||||
/// Use [`f32::NAN`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -247,7 +247,7 @@ pub const MAX_10_EXP: i32 = f32::MAX_10_EXP;
|
||||
pub const NAN: f32 = f32::NAN;
|
||||
|
||||
/// Infinity (∞).
|
||||
/// Use [`f32::INFINITY`](../../std/primitive.f32.html#associatedconstant.INFINITY) instead.
|
||||
/// Use [`f32::INFINITY`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -267,7 +267,7 @@ pub const NAN: f32 = f32::NAN;
|
||||
pub const INFINITY: f32 = f32::INFINITY;
|
||||
|
||||
/// Negative infinity (−∞).
|
||||
/// Use [`f32::NEG_INFINITY`](../../std/primitive.f32.html#associatedconstant.NEG_INFINITY) instead.
|
||||
/// Use [`f32::NEG_INFINITY`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Constants specific to the `f64` double-precision floating point type.
|
||||
//!
|
||||
//! *[See also the `f64` primitive type](../../std/primitive.f64.html).*
|
||||
//! *[See also the `f64` primitive type][f64].*
|
||||
//!
|
||||
//! Mathematically significant numbers are provided in the `consts` sub-module.
|
||||
//!
|
||||
@ -18,7 +18,7 @@ use crate::mem;
|
||||
use crate::num::FpCategory;
|
||||
|
||||
/// The radix or base of the internal representation of `f64`.
|
||||
/// Use [`f64::RADIX`](../../std/primitive.f64.html#associatedconstant.RADIX) instead.
|
||||
/// Use [`f64::RADIX`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -35,7 +35,7 @@ use crate::num::FpCategory;
|
||||
pub const RADIX: u32 = f64::RADIX;
|
||||
|
||||
/// Number of significant digits in base 2.
|
||||
/// Use [`f64::MANTISSA_DIGITS`](../../std/primitive.f64.html#associatedconstant.MANTISSA_DIGITS) instead.
|
||||
/// Use [`f64::MANTISSA_DIGITS`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -55,7 +55,7 @@ pub const RADIX: u32 = f64::RADIX;
|
||||
pub const MANTISSA_DIGITS: u32 = f64::MANTISSA_DIGITS;
|
||||
|
||||
/// Approximate number of significant digits in base 10.
|
||||
/// Use [`f64::DIGITS`](../../std/primitive.f64.html#associatedconstant.DIGITS) instead.
|
||||
/// Use [`f64::DIGITS`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -72,7 +72,7 @@ pub const MANTISSA_DIGITS: u32 = f64::MANTISSA_DIGITS;
|
||||
pub const DIGITS: u32 = f64::DIGITS;
|
||||
|
||||
/// [Machine epsilon] value for `f64`.
|
||||
/// Use [`f64::EPSILON`](../../std/primitive.f64.html#associatedconstant.EPSILON) instead.
|
||||
/// Use [`f64::EPSILON`] instead.
|
||||
///
|
||||
/// This is the difference between `1.0` and the next larger representable number.
|
||||
///
|
||||
@ -96,7 +96,7 @@ pub const DIGITS: u32 = f64::DIGITS;
|
||||
pub const EPSILON: f64 = f64::EPSILON;
|
||||
|
||||
/// Smallest finite `f64` value.
|
||||
/// Use [`f64::MIN`](../../std/primitive.f64.html#associatedconstant.MIN) instead.
|
||||
/// Use [`f64::MIN`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -113,7 +113,7 @@ pub const EPSILON: f64 = f64::EPSILON;
|
||||
pub const MIN: f64 = f64::MIN;
|
||||
|
||||
/// Smallest positive normal `f64` value.
|
||||
/// Use [`f64::MIN_POSITIVE`](../../std/primitive.f64.html#associatedconstant.MIN_POSITIVE) instead.
|
||||
/// Use [`f64::MIN_POSITIVE`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -133,7 +133,7 @@ pub const MIN: f64 = f64::MIN;
|
||||
pub const MIN_POSITIVE: f64 = f64::MIN_POSITIVE;
|
||||
|
||||
/// Largest finite `f64` value.
|
||||
/// Use [`f64::MAX`](../../std/primitive.f64.html#associatedconstant.MAX) instead.
|
||||
/// Use [`f64::MAX`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -150,7 +150,7 @@ pub const MIN_POSITIVE: f64 = f64::MIN_POSITIVE;
|
||||
pub const MAX: f64 = f64::MAX;
|
||||
|
||||
/// One greater than the minimum possible normal power of 2 exponent.
|
||||
/// Use [`f64::MIN_EXP`](../../std/primitive.f64.html#associatedconstant.MIN_EXP) instead.
|
||||
/// Use [`f64::MIN_EXP`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -170,7 +170,7 @@ pub const MAX: f64 = f64::MAX;
|
||||
pub const MIN_EXP: i32 = f64::MIN_EXP;
|
||||
|
||||
/// Maximum possible power of 2 exponent.
|
||||
/// Use [`f64::MAX_EXP`](../../std/primitive.f64.html#associatedconstant.MAX_EXP) instead.
|
||||
/// Use [`f64::MAX_EXP`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -190,7 +190,7 @@ pub const MIN_EXP: i32 = f64::MIN_EXP;
|
||||
pub const MAX_EXP: i32 = f64::MAX_EXP;
|
||||
|
||||
/// Minimum possible normal power of 10 exponent.
|
||||
/// Use [`f64::MIN_10_EXP`](../../std/primitive.f64.html#associatedconstant.MIN_10_EXP) instead.
|
||||
/// Use [`f64::MIN_10_EXP`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -210,7 +210,7 @@ pub const MAX_EXP: i32 = f64::MAX_EXP;
|
||||
pub const MIN_10_EXP: i32 = f64::MIN_10_EXP;
|
||||
|
||||
/// Maximum possible power of 10 exponent.
|
||||
/// Use [`f64::MAX_10_EXP`](../../std/primitive.f64.html#associatedconstant.MAX_10_EXP) instead.
|
||||
/// Use [`f64::MAX_10_EXP`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -230,7 +230,7 @@ pub const MIN_10_EXP: i32 = f64::MIN_10_EXP;
|
||||
pub const MAX_10_EXP: i32 = f64::MAX_10_EXP;
|
||||
|
||||
/// Not a Number (NaN).
|
||||
/// Use [`f64::NAN`](../../std/primitive.f64.html#associatedconstant.NAN) instead.
|
||||
/// Use [`f64::NAN`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -247,7 +247,7 @@ pub const MAX_10_EXP: i32 = f64::MAX_10_EXP;
|
||||
pub const NAN: f64 = f64::NAN;
|
||||
|
||||
/// Infinity (∞).
|
||||
/// Use [`f64::INFINITY`](../../std/primitive.f64.html#associatedconstant.INFINITY) instead.
|
||||
/// Use [`f64::INFINITY`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -267,7 +267,7 @@ pub const NAN: f64 = f64::NAN;
|
||||
pub const INFINITY: f64 = f64::INFINITY;
|
||||
|
||||
/// Negative infinity (−∞).
|
||||
/// Use [`f64::NEG_INFINITY`](../../std/primitive.f64.html#associatedconstant.NEG_INFINITY) instead.
|
||||
/// Use [`f64::NEG_INFINITY`] instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Constants for the 128-bit signed integer type.
|
||||
//!
|
||||
//! *[See also the `i128` primitive type](../../std/primitive.i128.html).*
|
||||
//! *[See also the `i128` primitive type][i128].*
|
||||
//!
|
||||
//! New code should use the associated constants directly on the primitive type.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Constants for the 16-bit signed integer type.
|
||||
//!
|
||||
//! *[See also the `i16` primitive type](../../std/primitive.i16.html).*
|
||||
//! *[See also the `i16` primitive type][i16].*
|
||||
//!
|
||||
//! New code should use the associated constants directly on the primitive type.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Constants for the 32-bit signed integer type.
|
||||
//!
|
||||
//! *[See also the `i32` primitive type](../../std/primitive.i32.html).*
|
||||
//! *[See also the `i32` primitive type][i32].*
|
||||
//!
|
||||
//! New code should use the associated constants directly on the primitive type.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Constants for the 64-bit signed integer type.
|
||||
//!
|
||||
//! *[See also the `i64` primitive type](../../std/primitive.i64.html).*
|
||||
//! *[See also the `i64` primitive type][i64].*
|
||||
//!
|
||||
//! New code should use the associated constants directly on the primitive type.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Constants for the 8-bit signed integer type.
|
||||
//!
|
||||
//! *[See also the `i8` primitive type](../../std/primitive.i8.html).*
|
||||
//! *[See also the `i8` primitive type][i8].*
|
||||
//!
|
||||
//! New code should use the associated constants directly on the primitive type.
|
||||
|
||||
|
@ -5,8 +5,7 @@ macro_rules! int_module {
|
||||
($T:ident, #[$attr:meta]) => (
|
||||
#[doc = concat!(
|
||||
"The smallest value that can be represented by this integer type. Use ",
|
||||
"[`", stringify!($T), "::MIN", "`](../../std/primitive.", stringify!($T), ".html#associatedconstant.MIN)",
|
||||
" instead.",
|
||||
"[`", stringify!($T), "::MIN", "`] instead."
|
||||
)]
|
||||
///
|
||||
/// # Examples
|
||||
@ -25,8 +24,7 @@ macro_rules! int_module {
|
||||
|
||||
#[doc = concat!(
|
||||
"The largest value that can be represented by this integer type. Use ",
|
||||
"[`", stringify!($T), "::MAX", "`](../../std/primitive.", stringify!($T), ".html#associatedconstant.MAX)",
|
||||
" instead.",
|
||||
"[`", stringify!($T), "::MAX", "`] instead."
|
||||
)]
|
||||
///
|
||||
/// # Examples
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Constants for the pointer-sized signed integer type.
|
||||
//!
|
||||
//! *[See also the `isize` primitive type](../../std/primitive.isize.html).*
|
||||
//! *[See also the `isize` primitive type][isize].*
|
||||
//!
|
||||
//! New code should use the associated constants directly on the primitive type.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Constants for the 128-bit unsigned integer type.
|
||||
//!
|
||||
//! *[See also the `u128` primitive type](../../std/primitive.u128.html).*
|
||||
//! *[See also the `u128` primitive type][u128].*
|
||||
//!
|
||||
//! New code should use the associated constants directly on the primitive type.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Constants for the 16-bit unsigned integer type.
|
||||
//!
|
||||
//! *[See also the `u16` primitive type](../../std/primitive.u16.html).*
|
||||
//! *[See also the `u16` primitive type][u16].*
|
||||
//!
|
||||
//! New code should use the associated constants directly on the primitive type.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Constants for the 32-bit unsigned integer type.
|
||||
//!
|
||||
//! *[See also the `u32` primitive type](../../std/primitive.u32.html).*
|
||||
//! *[See also the `u32` primitive type][u32].*
|
||||
//!
|
||||
//! New code should use the associated constants directly on the primitive type.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Constants for the 64-bit unsigned integer type.
|
||||
//!
|
||||
//! *[See also the `u64` primitive type](../../std/primitive.u64.html).*
|
||||
//! *[See also the `u64` primitive type][u64].*
|
||||
//!
|
||||
//! New code should use the associated constants directly on the primitive type.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Constants for the 8-bit unsigned integer type.
|
||||
//!
|
||||
//! *[See also the `u8` primitive type](../../std/primitive.u8.html).*
|
||||
//! *[See also the `u8` primitive type][u8].*
|
||||
//!
|
||||
//! New code should use the associated constants directly on the primitive type.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Constants for the pointer-sized unsigned integer type.
|
||||
//!
|
||||
//! *[See also the `usize` primitive type](../../std/primitive.usize.html).*
|
||||
//! *[See also the `usize` primitive type][usize].*
|
||||
//!
|
||||
//! New code should use the associated constants directly on the primitive type.
|
||||
|
||||
|
@ -1285,11 +1285,10 @@ impl<T> Result<T, T> {
|
||||
/// `Err`.
|
||||
///
|
||||
/// This can be useful in conjunction with APIs such as
|
||||
/// [`Atomic*::compare_exchange`], or [`slice::binary_search`][binary_search], but only in
|
||||
/// [`Atomic*::compare_exchange`], or [`slice::binary_search`], but only in
|
||||
/// cases where you don't care if the result was `Ok` or not.
|
||||
///
|
||||
/// [`Atomic*::compare_exchange`]: crate::sync::atomic::AtomicBool::compare_exchange
|
||||
/// [binary_search]: ../../std/primitive.slice.html#method.binary_search
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
@ -464,8 +464,8 @@ unsafe impl<T> SliceIndex<[T]> for ops::RangeToInclusive<usize> {
|
||||
///
|
||||
/// [`Range`]: ops::Range
|
||||
/// [`RangeTo`]: ops::RangeTo
|
||||
/// [`slice::get_unchecked`]: ../../std/primitive.slice.html#method.get_unchecked
|
||||
/// [`slice::get_unchecked_mut`]: ../../std/primitive.slice.html#method.get_unchecked_mut
|
||||
/// [`slice::get_unchecked`]: slice::get_unchecked
|
||||
/// [`slice::get_unchecked_mut`]: slice::get_unchecked_mut
|
||||
///
|
||||
/// # Panics
|
||||
///
|
||||
|
@ -60,8 +60,8 @@ fn size_from_ptr<T>(_: *const T) -> usize {
|
||||
/// }
|
||||
/// ```
|
||||
///
|
||||
/// [`iter`]: ../../std/primitive.slice.html#method.iter
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`iter`]: slice::iter
|
||||
/// [slices]: slice
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub struct Iter<'a, T: 'a> {
|
||||
ptr: NonNull<T>,
|
||||
@ -179,8 +179,8 @@ impl<T> AsRef<[T]> for Iter<'_, T> {
|
||||
/// println!("{:?}", slice);
|
||||
/// ```
|
||||
///
|
||||
/// [`iter_mut`]: ../../std/primitive.slice.html#method.iter_mut
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`iter_mut`]: slice::iter_mut
|
||||
/// [slices]: slice
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub struct IterMut<'a, T: 'a> {
|
||||
ptr: NonNull<T>,
|
||||
@ -328,8 +328,8 @@ pub(super) trait SplitIter: DoubleEndedIterator {
|
||||
/// let mut iter = slice.split(|num| num % 3 == 0);
|
||||
/// ```
|
||||
///
|
||||
/// [`split`]: ../../std/primitive.slice.html#method.split
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`split`]: slice::split
|
||||
/// [slices]: slice
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub struct Split<'a, T: 'a, P>
|
||||
where
|
||||
@ -450,8 +450,8 @@ impl<T, P> FusedIterator for Split<'_, T, P> where P: FnMut(&T) -> bool {}
|
||||
/// let mut iter = slice.split_inclusive(|num| num % 3 == 0);
|
||||
/// ```
|
||||
///
|
||||
/// [`split_inclusive`]: ../../std/primitive.slice.html#method.split_inclusive
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`split_inclusive`]: slice::split_inclusive
|
||||
/// [slices]: slice
|
||||
#[stable(feature = "split_inclusive", since = "1.51.0")]
|
||||
pub struct SplitInclusive<'a, T: 'a, P>
|
||||
where
|
||||
@ -562,8 +562,8 @@ impl<T, P> FusedIterator for SplitInclusive<'_, T, P> where P: FnMut(&T) -> bool
|
||||
/// let iter = v.split_mut(|num| *num % 3 == 0);
|
||||
/// ```
|
||||
///
|
||||
/// [`split_mut`]: ../../std/primitive.slice.html#method.split_mut
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`split_mut`]: slice::split_mut
|
||||
/// [slices]: slice
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub struct SplitMut<'a, T: 'a, P>
|
||||
where
|
||||
@ -691,8 +691,8 @@ impl<T, P> FusedIterator for SplitMut<'_, T, P> where P: FnMut(&T) -> bool {}
|
||||
/// let iter = v.split_inclusive_mut(|num| *num % 3 == 0);
|
||||
/// ```
|
||||
///
|
||||
/// [`split_inclusive_mut`]: ../../std/primitive.slice.html#method.split_inclusive_mut
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`split_inclusive_mut`]: slice::split_inclusive_mut
|
||||
/// [slices]: slice
|
||||
#[stable(feature = "split_inclusive", since = "1.51.0")]
|
||||
pub struct SplitInclusiveMut<'a, T: 'a, P>
|
||||
where
|
||||
@ -812,8 +812,8 @@ impl<T, P> FusedIterator for SplitInclusiveMut<'_, T, P> where P: FnMut(&T) -> b
|
||||
/// let iter = slice.rsplit(|num| *num == 0);
|
||||
/// ```
|
||||
///
|
||||
/// [`rsplit`]: ../../std/primitive.slice.html#method.rsplit
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`rsplit`]: slice::rsplit
|
||||
/// [slices]: slice
|
||||
#[stable(feature = "slice_rsplit", since = "1.27.0")]
|
||||
#[derive(Clone)] // Is this correct, or does it incorrectly require `T: Clone`?
|
||||
pub struct RSplit<'a, T: 'a, P>
|
||||
@ -898,8 +898,8 @@ impl<T, P> FusedIterator for RSplit<'_, T, P> where P: FnMut(&T) -> bool {}
|
||||
/// let iter = slice.rsplit_mut(|num| *num == 0);
|
||||
/// ```
|
||||
///
|
||||
/// [`rsplit_mut`]: ../../std/primitive.slice.html#method.rsplit_mut
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`rsplit_mut`]: slice::rsplit_mut
|
||||
/// [slices]: slice
|
||||
#[stable(feature = "slice_rsplit", since = "1.27.0")]
|
||||
pub struct RSplitMut<'a, T: 'a, P>
|
||||
where
|
||||
@ -1017,8 +1017,8 @@ impl<T, I: SplitIter<Item = T>> Iterator for GenericSplitN<I> {
|
||||
/// let iter = slice.splitn(2, |num| *num % 3 == 0);
|
||||
/// ```
|
||||
///
|
||||
/// [`splitn`]: ../../std/primitive.slice.html#method.splitn
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`splitn`]: slice::splitn
|
||||
/// [slices]: slice
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub struct SplitN<'a, T: 'a, P>
|
||||
where
|
||||
@ -1057,8 +1057,8 @@ where
|
||||
/// let iter = slice.rsplitn(2, |num| *num % 3 == 0);
|
||||
/// ```
|
||||
///
|
||||
/// [`rsplitn`]: ../../std/primitive.slice.html#method.rsplitn
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`rsplitn`]: slice::rsplitn
|
||||
/// [slices]: slice
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub struct RSplitN<'a, T: 'a, P>
|
||||
where
|
||||
@ -1096,8 +1096,8 @@ where
|
||||
/// let iter = slice.splitn_mut(2, |num| *num % 3 == 0);
|
||||
/// ```
|
||||
///
|
||||
/// [`splitn_mut`]: ../../std/primitive.slice.html#method.splitn_mut
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`splitn_mut`]: slice::splitn_mut
|
||||
/// [slices]: slice
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub struct SplitNMut<'a, T: 'a, P>
|
||||
where
|
||||
@ -1136,8 +1136,8 @@ where
|
||||
/// let iter = slice.rsplitn_mut(2, |num| *num % 3 == 0);
|
||||
/// ```
|
||||
///
|
||||
/// [`rsplitn_mut`]: ../../std/primitive.slice.html#method.rsplitn_mut
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`rsplitn_mut`]: slice::rsplitn_mut
|
||||
/// [slices]: slice
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub struct RSplitNMut<'a, T: 'a, P>
|
||||
where
|
||||
@ -1179,8 +1179,8 @@ forward_iterator! { RSplitNMut: T, &'a mut [T] }
|
||||
/// let iter = slice.windows(2);
|
||||
/// ```
|
||||
///
|
||||
/// [`windows`]: ../../std/primitive.slice.html#method.windows
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`windows`]: slice::windows
|
||||
/// [slices]: slice
|
||||
#[derive(Debug)]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub struct Windows<'a, T: 'a> {
|
||||
@ -1325,8 +1325,8 @@ unsafe impl<'a, T> TrustedRandomAccess for Windows<'a, T> {
|
||||
/// let iter = slice.chunks(2);
|
||||
/// ```
|
||||
///
|
||||
/// [`chunks`]: ../../std/primitive.slice.html#method.chunks
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`chunks`]: slice::chunks
|
||||
/// [slices]: slice
|
||||
#[derive(Debug)]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub struct Chunks<'a, T: 'a> {
|
||||
@ -1493,8 +1493,8 @@ unsafe impl<'a, T> TrustedRandomAccess for Chunks<'a, T> {
|
||||
/// let iter = slice.chunks_mut(2);
|
||||
/// ```
|
||||
///
|
||||
/// [`chunks_mut`]: ../../std/primitive.slice.html#method.chunks_mut
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`chunks_mut`]: slice::chunks_mut
|
||||
/// [slices]: slice
|
||||
#[derive(Debug)]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub struct ChunksMut<'a, T: 'a> {
|
||||
@ -1659,9 +1659,9 @@ unsafe impl<'a, T> TrustedRandomAccess for ChunksMut<'a, T> {
|
||||
/// let iter = slice.chunks_exact(2);
|
||||
/// ```
|
||||
///
|
||||
/// [`chunks_exact`]: ../../std/primitive.slice.html#method.chunks_exact
|
||||
/// [`chunks_exact`]: slice::chunks_exact
|
||||
/// [`remainder`]: ChunksExact::remainder
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [slices]: slice
|
||||
#[derive(Debug)]
|
||||
#[stable(feature = "chunks_exact", since = "1.31.0")]
|
||||
pub struct ChunksExact<'a, T: 'a> {
|
||||
@ -1815,9 +1815,9 @@ unsafe impl<'a, T> TrustedRandomAccess for ChunksExact<'a, T> {
|
||||
/// let iter = slice.chunks_exact_mut(2);
|
||||
/// ```
|
||||
///
|
||||
/// [`chunks_exact_mut`]: ../../std/primitive.slice.html#method.chunks_exact_mut
|
||||
/// [`chunks_exact_mut`]: slice::chunks_exact_mut
|
||||
/// [`into_remainder`]: ChunksExactMut::into_remainder
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [slices]: slice
|
||||
#[derive(Debug)]
|
||||
#[stable(feature = "chunks_exact", since = "1.31.0")]
|
||||
pub struct ChunksExactMut<'a, T: 'a> {
|
||||
@ -1966,8 +1966,8 @@ unsafe impl<'a, T> TrustedRandomAccess for ChunksExactMut<'a, T> {
|
||||
/// let iter = slice.array_windows::<2>();
|
||||
/// ```
|
||||
///
|
||||
/// [`array_windows`]: ../../std/primitive.slice.html#method.array_windows
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`array_windows`]: slice::array_windows
|
||||
/// [slices]: slice
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
#[unstable(feature = "array_windows", issue = "75027")]
|
||||
pub struct ArrayWindows<'a, T: 'a, const N: usize> {
|
||||
@ -2087,9 +2087,9 @@ impl<T, const N: usize> ExactSizeIterator for ArrayWindows<'_, T, N> {
|
||||
/// let iter = slice.array_chunks::<2>();
|
||||
/// ```
|
||||
///
|
||||
/// [`array_chunks`]: ../../std/primitive.slice.html#method.array_chunks
|
||||
/// [`array_chunks`]: slice::array_chunks
|
||||
/// [`remainder`]: ArrayChunks::remainder
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [slices]: slice
|
||||
#[derive(Debug)]
|
||||
#[unstable(feature = "array_chunks", issue = "74985")]
|
||||
pub struct ArrayChunks<'a, T: 'a, const N: usize> {
|
||||
@ -2209,9 +2209,9 @@ unsafe impl<'a, T, const N: usize> TrustedRandomAccess for ArrayChunks<'a, T, N>
|
||||
/// let iter = slice.array_chunks_mut::<2>();
|
||||
/// ```
|
||||
///
|
||||
/// [`array_chunks_mut`]: ../../std/primitive.slice.html#method.array_chunks_mut
|
||||
/// [`array_chunks_mut`]: slice::array_chunks_mut
|
||||
/// [`into_remainder`]: ../../std/slice/struct.ArrayChunksMut.html#method.into_remainder
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [slices]: slice
|
||||
#[derive(Debug)]
|
||||
#[unstable(feature = "array_chunks", issue = "74985")]
|
||||
pub struct ArrayChunksMut<'a, T: 'a, const N: usize> {
|
||||
@ -2320,8 +2320,8 @@ unsafe impl<'a, T, const N: usize> TrustedRandomAccess for ArrayChunksMut<'a, T,
|
||||
/// let iter = slice.rchunks(2);
|
||||
/// ```
|
||||
///
|
||||
/// [`rchunks`]: ../../std/primitive.slice.html#method.rchunks
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`rchunks`]: slice::rchunks
|
||||
/// [slices]: slice
|
||||
#[derive(Debug)]
|
||||
#[stable(feature = "rchunks", since = "1.31.0")]
|
||||
pub struct RChunks<'a, T: 'a> {
|
||||
@ -2484,8 +2484,8 @@ unsafe impl<'a, T> TrustedRandomAccess for RChunks<'a, T> {
|
||||
/// let iter = slice.rchunks_mut(2);
|
||||
/// ```
|
||||
///
|
||||
/// [`rchunks_mut`]: ../../std/primitive.slice.html#method.rchunks_mut
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`rchunks_mut`]: slice::rchunks_mut
|
||||
/// [slices]: slice
|
||||
#[derive(Debug)]
|
||||
#[stable(feature = "rchunks", since = "1.31.0")]
|
||||
pub struct RChunksMut<'a, T: 'a> {
|
||||
@ -2648,9 +2648,9 @@ unsafe impl<'a, T> TrustedRandomAccess for RChunksMut<'a, T> {
|
||||
/// let iter = slice.rchunks_exact(2);
|
||||
/// ```
|
||||
///
|
||||
/// [`rchunks_exact`]: ../../std/primitive.slice.html#method.rchunks_exact
|
||||
/// [`rchunks_exact`]: slice::rchunks_exact
|
||||
/// [`remainder`]: ChunksExact::remainder
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [slices]: slice
|
||||
#[derive(Debug)]
|
||||
#[stable(feature = "rchunks", since = "1.31.0")]
|
||||
pub struct RChunksExact<'a, T: 'a> {
|
||||
@ -2808,9 +2808,9 @@ unsafe impl<'a, T> TrustedRandomAccess for RChunksExact<'a, T> {
|
||||
/// let iter = slice.rchunks_exact_mut(2);
|
||||
/// ```
|
||||
///
|
||||
/// [`rchunks_exact_mut`]: ../../std/primitive.slice.html#method.rchunks_exact_mut
|
||||
/// [`rchunks_exact_mut`]: slice::rchunks_exact_mut
|
||||
/// [`into_remainder`]: ChunksExactMut::into_remainder
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [slices]: slice
|
||||
#[derive(Debug)]
|
||||
#[stable(feature = "rchunks", since = "1.31.0")]
|
||||
pub struct RChunksExactMut<'a, T: 'a> {
|
||||
@ -2969,8 +2969,8 @@ unsafe impl<'a, T> TrustedRandomAccess for IterMut<'a, T> {
|
||||
///
|
||||
/// This struct is created by the [`group_by`] method on [slices].
|
||||
///
|
||||
/// [`group_by`]: ../../std/primitive.slice.html#method.group_by
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`group_by`]: slice::group_by
|
||||
/// [slices]: slice
|
||||
#[unstable(feature = "slice_group_by", issue = "80552")]
|
||||
pub struct GroupBy<'a, T: 'a, P> {
|
||||
slice: &'a [T],
|
||||
@ -3055,8 +3055,8 @@ impl<'a, T: 'a + fmt::Debug, P> fmt::Debug for GroupBy<'a, T, P> {
|
||||
///
|
||||
/// This struct is created by the [`group_by_mut`] method on [slices].
|
||||
///
|
||||
/// [`group_by_mut`]: ../../std/primitive.slice.html#method.group_by_mut
|
||||
/// [slices]: ../../std/primitive.slice.html
|
||||
/// [`group_by_mut`]: slice::group_by_mut
|
||||
/// [slices]: slice
|
||||
#[unstable(feature = "slice_group_by", issue = "80552")]
|
||||
pub struct GroupByMut<'a, T: 'a, P> {
|
||||
slice: &'a mut [T],
|
||||
|
@ -540,9 +540,7 @@ pub trait FromStr: Sized {
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// Basic usage with [`i32`][ithirtytwo], a type that implements `FromStr`:
|
||||
///
|
||||
/// [ithirtytwo]: ../../std/primitive.i32.html
|
||||
/// Basic usage with [`i32`], a type that implements `FromStr`:
|
||||
///
|
||||
/// ```
|
||||
/// use std::str::FromStr;
|
||||
|
@ -1307,7 +1307,7 @@ macro_rules! atomic_int {
|
||||
$stable_nand:meta,
|
||||
$const_stable:meta,
|
||||
$stable_init_const:meta,
|
||||
$s_int_type:literal, $int_ref:expr,
|
||||
$s_int_type:literal,
|
||||
$extra_feature:expr,
|
||||
$min_fn:ident, $max_fn:ident,
|
||||
$align:expr,
|
||||
@ -1318,18 +1318,14 @@ macro_rules! atomic_int {
|
||||
/// This type has the same in-memory representation as the underlying
|
||||
/// integer type, [`
|
||||
#[doc = $s_int_type]
|
||||
/// `](
|
||||
#[doc = $int_ref]
|
||||
/// ). For more about the differences between atomic types and
|
||||
/// `]. For more about the differences between atomic types and
|
||||
/// non-atomic types as well as information about the portability of
|
||||
/// this type, please see the [module-level documentation].
|
||||
///
|
||||
/// **Note:** This type is only available on platforms that support
|
||||
/// atomic loads and stores of [`
|
||||
#[doc = $s_int_type]
|
||||
/// `](
|
||||
#[doc = $int_ref]
|
||||
/// ).
|
||||
/// `].
|
||||
///
|
||||
/// [module-level documentation]: crate::sync::atomic
|
||||
#[$stable]
|
||||
@ -1525,7 +1521,7 @@ macro_rules! atomic_int {
|
||||
/// using [`Release`] makes the load part [`Relaxed`].
|
||||
///
|
||||
/// **Note**: This method is only available on platforms that support atomic operations on
|
||||
#[doc = concat!("[`", $s_int_type, "`](", $int_ref, ").")]
|
||||
#[doc = concat!("[`", $s_int_type, "`].")]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -1557,7 +1553,7 @@ macro_rules! atomic_int {
|
||||
/// happens, and using [`Release`] makes the load part [`Relaxed`].
|
||||
///
|
||||
/// **Note**: This method is only available on platforms that support atomic operations on
|
||||
#[doc = concat!("[`", $s_int_type, "`](", $int_ref, ").")]
|
||||
#[doc = concat!("[`", $s_int_type, "`].")]
|
||||
///
|
||||
/// # Migrating to `compare_exchange` and `compare_exchange_weak`
|
||||
///
|
||||
@ -1626,7 +1622,7 @@ macro_rules! atomic_int {
|
||||
/// and must be equivalent to or weaker than the success ordering.
|
||||
///
|
||||
/// **Note**: This method is only available on platforms that support atomic operations on
|
||||
#[doc = concat!("[`", $s_int_type, "`](", $int_ref, ").")]
|
||||
#[doc = concat!("[`", $s_int_type, "`].")]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -1678,7 +1674,7 @@ macro_rules! atomic_int {
|
||||
/// and must be equivalent to or weaker than the success ordering.
|
||||
///
|
||||
/// **Note**: This method is only available on platforms that support atomic operations on
|
||||
#[doc = concat!("[`", $s_int_type, "`](", $int_ref, ").")]
|
||||
#[doc = concat!("[`", $s_int_type, "`].")]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -1720,7 +1716,7 @@ macro_rules! atomic_int {
|
||||
/// using [`Release`] makes the load part [`Relaxed`].
|
||||
///
|
||||
/// **Note**: This method is only available on platforms that support atomic operations on
|
||||
#[doc = concat!("[`", $s_int_type, "`](", $int_ref, ").")]
|
||||
#[doc = concat!("[`", $s_int_type, "`].")]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -1749,7 +1745,7 @@ macro_rules! atomic_int {
|
||||
/// using [`Release`] makes the load part [`Relaxed`].
|
||||
///
|
||||
/// **Note**: This method is only available on platforms that support atomic operations on
|
||||
#[doc = concat!("[`", $s_int_type, "`](", $int_ref, ").")]
|
||||
#[doc = concat!("[`", $s_int_type, "`].")]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -1781,7 +1777,7 @@ macro_rules! atomic_int {
|
||||
/// using [`Release`] makes the load part [`Relaxed`].
|
||||
///
|
||||
/// **Note**: This method is only available on platforms that support atomic operations on
|
||||
#[doc = concat!("[`", $s_int_type, "`](", $int_ref, ").")]
|
||||
#[doc = concat!("[`", $s_int_type, "`].")]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -1813,7 +1809,7 @@ macro_rules! atomic_int {
|
||||
/// using [`Release`] makes the load part [`Relaxed`].
|
||||
///
|
||||
/// **Note**: This method is only available on platforms that support atomic operations on
|
||||
#[doc = concat!("[`", $s_int_type, "`](", $int_ref, ").")]
|
||||
#[doc = concat!("[`", $s_int_type, "`].")]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -1845,7 +1841,7 @@ macro_rules! atomic_int {
|
||||
/// using [`Release`] makes the load part [`Relaxed`].
|
||||
///
|
||||
/// **Note**: This method is only available on platforms that support atomic operations on
|
||||
#[doc = concat!("[`", $s_int_type, "`](", $int_ref, ").")]
|
||||
#[doc = concat!("[`", $s_int_type, "`].")]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -1877,7 +1873,7 @@ macro_rules! atomic_int {
|
||||
/// using [`Release`] makes the load part [`Relaxed`].
|
||||
///
|
||||
/// **Note**: This method is only available on platforms that support atomic operations on
|
||||
#[doc = concat!("[`", $s_int_type, "`](", $int_ref, ").")]
|
||||
#[doc = concat!("[`", $s_int_type, "`].")]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -1916,7 +1912,7 @@ macro_rules! atomic_int {
|
||||
/// and must be equivalent to or weaker than the success ordering.
|
||||
///
|
||||
/// **Note**: This method is only available on platforms that support atomic operations on
|
||||
#[doc = concat!("[`", $s_int_type, "`](", $int_ref, ").")]
|
||||
#[doc = concat!("[`", $s_int_type, "`].")]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -1960,7 +1956,7 @@ macro_rules! atomic_int {
|
||||
/// using [`Release`] makes the load part [`Relaxed`].
|
||||
///
|
||||
/// **Note**: This method is only available on platforms that support atomic operations on
|
||||
#[doc = concat!("[`", $s_int_type, "`](", $int_ref, ").")]
|
||||
#[doc = concat!("[`", $s_int_type, "`].")]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -2003,7 +1999,7 @@ macro_rules! atomic_int {
|
||||
/// using [`Release`] makes the load part [`Relaxed`].
|
||||
///
|
||||
/// **Note**: This method is only available on platforms that support atomic operations on
|
||||
#[doc = concat!("[`", $s_int_type, "`](", $int_ref, ").")]
|
||||
#[doc = concat!("[`", $s_int_type, "`].")]
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -2088,7 +2084,7 @@ atomic_int! {
|
||||
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
||||
rustc_const_stable(feature = "const_integer_atomics", since = "1.34.0"),
|
||||
unstable(feature = "integer_atomics", issue = "32976"),
|
||||
"i8", "../../../std/primitive.i8.html",
|
||||
"i8",
|
||||
"",
|
||||
atomic_min, atomic_max,
|
||||
1,
|
||||
@ -2107,7 +2103,7 @@ atomic_int! {
|
||||
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
||||
rustc_const_stable(feature = "const_integer_atomics", since = "1.34.0"),
|
||||
unstable(feature = "integer_atomics", issue = "32976"),
|
||||
"u8", "../../../std/primitive.u8.html",
|
||||
"u8",
|
||||
"",
|
||||
atomic_umin, atomic_umax,
|
||||
1,
|
||||
@ -2126,7 +2122,7 @@ atomic_int! {
|
||||
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
||||
rustc_const_stable(feature = "const_integer_atomics", since = "1.34.0"),
|
||||
unstable(feature = "integer_atomics", issue = "32976"),
|
||||
"i16", "../../../std/primitive.i16.html",
|
||||
"i16",
|
||||
"",
|
||||
atomic_min, atomic_max,
|
||||
2,
|
||||
@ -2145,7 +2141,7 @@ atomic_int! {
|
||||
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
||||
rustc_const_stable(feature = "const_integer_atomics", since = "1.34.0"),
|
||||
unstable(feature = "integer_atomics", issue = "32976"),
|
||||
"u16", "../../../std/primitive.u16.html",
|
||||
"u16",
|
||||
"",
|
||||
atomic_umin, atomic_umax,
|
||||
2,
|
||||
@ -2164,7 +2160,7 @@ atomic_int! {
|
||||
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
||||
rustc_const_stable(feature = "const_integer_atomics", since = "1.34.0"),
|
||||
unstable(feature = "integer_atomics", issue = "32976"),
|
||||
"i32", "../../../std/primitive.i32.html",
|
||||
"i32",
|
||||
"",
|
||||
atomic_min, atomic_max,
|
||||
4,
|
||||
@ -2183,7 +2179,7 @@ atomic_int! {
|
||||
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
||||
rustc_const_stable(feature = "const_integer_atomics", since = "1.34.0"),
|
||||
unstable(feature = "integer_atomics", issue = "32976"),
|
||||
"u32", "../../../std/primitive.u32.html",
|
||||
"u32",
|
||||
"",
|
||||
atomic_umin, atomic_umax,
|
||||
4,
|
||||
@ -2202,7 +2198,7 @@ atomic_int! {
|
||||
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
||||
rustc_const_stable(feature = "const_integer_atomics", since = "1.34.0"),
|
||||
unstable(feature = "integer_atomics", issue = "32976"),
|
||||
"i64", "../../../std/primitive.i64.html",
|
||||
"i64",
|
||||
"",
|
||||
atomic_min, atomic_max,
|
||||
8,
|
||||
@ -2221,7 +2217,7 @@ atomic_int! {
|
||||
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
||||
rustc_const_stable(feature = "const_integer_atomics", since = "1.34.0"),
|
||||
unstable(feature = "integer_atomics", issue = "32976"),
|
||||
"u64", "../../../std/primitive.u64.html",
|
||||
"u64",
|
||||
"",
|
||||
atomic_umin, atomic_umax,
|
||||
8,
|
||||
@ -2240,7 +2236,7 @@ atomic_int! {
|
||||
unstable(feature = "integer_atomics", issue = "32976"),
|
||||
rustc_const_stable(feature = "const_integer_atomics", since = "1.34.0"),
|
||||
unstable(feature = "integer_atomics", issue = "32976"),
|
||||
"i128", "../../../std/primitive.i128.html",
|
||||
"i128",
|
||||
"#![feature(integer_atomics)]\n\n",
|
||||
atomic_min, atomic_max,
|
||||
16,
|
||||
@ -2259,7 +2255,7 @@ atomic_int! {
|
||||
unstable(feature = "integer_atomics", issue = "32976"),
|
||||
rustc_const_stable(feature = "const_integer_atomics", since = "1.34.0"),
|
||||
unstable(feature = "integer_atomics", issue = "32976"),
|
||||
"u128", "../../../std/primitive.u128.html",
|
||||
"u128",
|
||||
"#![feature(integer_atomics)]\n\n",
|
||||
atomic_umin, atomic_umax,
|
||||
16,
|
||||
@ -2282,7 +2278,7 @@ macro_rules! atomic_int_ptr_sized {
|
||||
stable(feature = "atomic_nand", since = "1.27.0"),
|
||||
rustc_const_stable(feature = "const_integer_atomics", since = "1.34.0"),
|
||||
stable(feature = "rust1", since = "1.0.0"),
|
||||
"isize", "../../../std/primitive.isize.html",
|
||||
"isize",
|
||||
"",
|
||||
atomic_min, atomic_max,
|
||||
$align,
|
||||
@ -2302,7 +2298,7 @@ macro_rules! atomic_int_ptr_sized {
|
||||
stable(feature = "atomic_nand", since = "1.27.0"),
|
||||
rustc_const_stable(feature = "const_integer_atomics", since = "1.34.0"),
|
||||
stable(feature = "rust1", since = "1.0.0"),
|
||||
"usize", "../../../std/primitive.usize.html",
|
||||
"usize",
|
||||
"",
|
||||
atomic_umin, atomic_umax,
|
||||
$align,
|
||||
|
Loading…
Reference in New Issue
Block a user