mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
Consistent placement of doc alias for primitives below the doc(primitive…)
This commit is contained in:
parent
49c680ada0
commit
ab89c88faa
@ -385,8 +385,8 @@ mod prim_char {}
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
mod prim_unit {}
|
||||
|
||||
#[doc(alias = "ptr")]
|
||||
#[doc(primitive = "pointer")]
|
||||
#[doc(alias = "ptr")]
|
||||
//
|
||||
/// Raw, unsafe pointers, `*const T`, and `*mut T`.
|
||||
///
|
||||
@ -499,10 +499,10 @@ mod prim_unit {}
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
mod prim_pointer {}
|
||||
|
||||
#[doc(primitive = "array")]
|
||||
#[doc(alias = "[]")]
|
||||
#[doc(alias = "[T;N]")] // unfortunately, rustdoc doesn't have fuzzy search for aliases
|
||||
#[doc(alias = "[T; N]")]
|
||||
#[doc(primitive = "array")]
|
||||
/// A fixed-size array, denoted `[T; N]`, for the element type, `T`, and the
|
||||
/// non-negative compile-time constant size, `N`.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user