diff --git a/library/std/src/os/raw/char.md b/library/std/src/os/raw/char.md index 9fb0aed89d885..8256b725acfa3 100644 --- a/library/std/src/os/raw/char.md +++ b/library/std/src/os/raw/char.md @@ -7,5 +7,3 @@ C chars are most commonly used to make C strings. Unlike Rust, where the length [C's `char` type]: https://en.wikipedia.org/wiki/C_data_types#Basic_types [Rust's `char` type]: char [`CStr`]: crate::ffi::CStr -[`i8`]: i8 -[`u8`]: u8 diff --git a/library/std/src/os/raw/double.md b/library/std/src/os/raw/double.md index 51503b5bd69dc..57f4534829ec8 100644 --- a/library/std/src/os/raw/double.md +++ b/library/std/src/os/raw/double.md @@ -4,4 +4,3 @@ This type will almost always be [`f64`], which is guaranteed to be an [IEEE-754 [IEEE-754 double-precision float]: https://en.wikipedia.org/wiki/IEEE_754 [`float`]: c_float -[`f64`]: f64 diff --git a/library/std/src/os/raw/float.md b/library/std/src/os/raw/float.md index 7483b97623e7c..61e2abc05189d 100644 --- a/library/std/src/os/raw/float.md +++ b/library/std/src/os/raw/float.md @@ -3,4 +3,3 @@ Equivalent to C's `float` type. This type will almost always be [`f32`], which is guaranteed to be an [IEEE-754 single-precision float] in Rust. That said, the standard technically only guarantees that it be a floating-point number, and it may have less precision than `f32` or not follow the IEEE-754 standard at all. [IEEE-754 single-precision float]: https://en.wikipedia.org/wiki/IEEE_754 -[`f32`]: f32 diff --git a/library/std/src/os/raw/int.md b/library/std/src/os/raw/int.md index 9860e4782f335..8062ff2307a95 100644 --- a/library/std/src/os/raw/int.md +++ b/library/std/src/os/raw/int.md @@ -3,5 +3,3 @@ Equivalent to C's `signed int` (`int`) type. This type will almost always be [`i32`], but may differ on some esoteric systems. The C standard technically only requires that this type be a signed integer that is at least the size of a [`short`]; some systems define it as an [`i16`], for example. [`short`]: c_short -[`i32`]: i32 -[`i16`]: i16 diff --git a/library/std/src/os/raw/long.md b/library/std/src/os/raw/long.md index 410100ac64aba..cc160783f78b7 100644 --- a/library/std/src/os/raw/long.md +++ b/library/std/src/os/raw/long.md @@ -3,5 +3,3 @@ Equivalent to C's `signed long` (`long`) type. This type will always be [`i32`] or [`i64`]. Most notably, many Linux-based systems assume an `i64`, but Windows assumes `i32`. The C standard technically only requires that this type be a signed integer that is at least 32 bits and at least the size of an [`int`], although in practice, no system would have a `long` that is neither an `i32` nor `i64`. [`int`]: c_int -[`i32`]: i32 -[`i64`]: i64 diff --git a/library/std/src/os/raw/longlong.md b/library/std/src/os/raw/longlong.md index 26463dc8ec003..49c61bd61f4ad 100644 --- a/library/std/src/os/raw/longlong.md +++ b/library/std/src/os/raw/longlong.md @@ -3,5 +3,3 @@ Equivalent to C's `signed long long` (`long long`) type. This type will almost always be [`i64`], but may differ on some systems. The C standard technically only requires that this type be a signed integer that is at least 64 bits and at least the size of a [`long`], although in practice, no system would have a `long long` that is not an `i64`, as most systems do not have a standardised [`i128`] type. [`long`]: c_int -[`i64`]: i64 -[`i128`]: i128 diff --git a/library/std/src/os/raw/schar.md b/library/std/src/os/raw/schar.md index cc8d9bf5f42ec..69879c9f17f4d 100644 --- a/library/std/src/os/raw/schar.md +++ b/library/std/src/os/raw/schar.md @@ -3,4 +3,3 @@ Equivalent to C's `signed char` type. This type will always be [`i8`], but is included for completeness. It is defined as being a signed integer the same size as a C [`char`]. [`char`]: c_char -[`i8`]: i8 diff --git a/library/std/src/os/raw/short.md b/library/std/src/os/raw/short.md index f2d25e387e2b3..3d1e53d1325f3 100644 --- a/library/std/src/os/raw/short.md +++ b/library/std/src/os/raw/short.md @@ -3,4 +3,3 @@ Equivalent to C's `signed short` (`short`) type. This type will almost always be [`i16`], but may differ on some esoteric systems. The C standard technically only requires that this type be a signed integer with at least 16 bits; some systems may define it as `i32`, for example. [`char`]: c_char -[`i16`]: i16 diff --git a/library/std/src/os/raw/uchar.md b/library/std/src/os/raw/uchar.md index 462410820dc6a..b633bb7f8dacf 100644 --- a/library/std/src/os/raw/uchar.md +++ b/library/std/src/os/raw/uchar.md @@ -3,4 +3,3 @@ Equivalent to C's `unsigned char` type. This type will always be [`u8`], but is included for completeness. It is defined as being an unsigned integer the same size as a C [`char`]. [`char`]: c_char -[`u8`]: u8 diff --git a/library/std/src/os/raw/uint.md b/library/std/src/os/raw/uint.md index 4a5c4ab1d4893..f3abea35937ab 100644 --- a/library/std/src/os/raw/uint.md +++ b/library/std/src/os/raw/uint.md @@ -3,5 +3,3 @@ Equivalent to C's `unsigned int` type. This type will almost always be [`u32`], but may differ on some esoteric systems. The C standard technically only requires that this type be an unsigned integer with the same size as an [`int`]; some systems define it as a [`u16`], for example. [`int`]: c_int -[`u32`]: u32 -[`u16`]: u16 diff --git a/library/std/src/os/raw/ulong.md b/library/std/src/os/raw/ulong.md index 745759c51abdc..4ab304e657773 100644 --- a/library/std/src/os/raw/ulong.md +++ b/library/std/src/os/raw/ulong.md @@ -3,5 +3,3 @@ Equivalent to C's `unsigned long` type. This type will always be [`u32`] or [`u64`]. Most notably, many Linux-based systems assume an `u64`, but Windows assumes `u32`. The C standard technically only requires that this type be an unsigned integer with the size of a [`long`], although in practice, no system would have a `ulong` that is neither a `u32` nor `u64`. [`long`]: c_long -[`u32`]: u32 -[`u64`]: u64 diff --git a/library/std/src/os/raw/ulonglong.md b/library/std/src/os/raw/ulonglong.md index 981106b23b6a4..a27d70e17537d 100644 --- a/library/std/src/os/raw/ulonglong.md +++ b/library/std/src/os/raw/ulonglong.md @@ -3,5 +3,3 @@ Equivalent to C's `unsigned long long` type. This type will almost always be [`u64`], but may differ on some systems. The C standard technically only requires that this type be an unsigned integer with the size of a [`long long`], although in practice, no system would have a `long long` that is not a `u64`, as most systems do not have a standardised [`u128`] type. [`long long`]: c_longlong -[`u64`]: u64 -[`u128`]: u128 diff --git a/library/std/src/os/raw/ushort.md b/library/std/src/os/raw/ushort.md index 6e2506d52cf84..6928e51b352c8 100644 --- a/library/std/src/os/raw/ushort.md +++ b/library/std/src/os/raw/ushort.md @@ -3,4 +3,3 @@ Equivalent to C's `unsigned short` type. This type will almost always be [`u16`], but may differ on some esoteric systems. The C standard technically only requires that this type be an unsigned integer with the same size as a [`short`]. [`short`]: c_short -[`u16`]: u16