Add array search aliases
This commit is contained in:
parent
b32e6e6ac8
commit
f2743a5db7
1 changed files with 3 additions and 1 deletions
|
@ -478,8 +478,10 @@ mod prim_unit {}
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
mod prim_pointer {}
|
mod prim_pointer {}
|
||||||
|
|
||||||
|
#[doc(alias = "[]")]
|
||||||
|
#[doc(alias = "[T;N]")] // unfortunately, rustdoc doesn't have fuzzy search for aliases
|
||||||
|
#[doc(alias = "[T; N]")]
|
||||||
#[doc(primitive = "array")]
|
#[doc(primitive = "array")]
|
||||||
//
|
|
||||||
/// A fixed-size array, denoted `[T; N]`, for the element type, `T`, and the
|
/// A fixed-size array, denoted `[T; N]`, for the element type, `T`, and the
|
||||||
/// non-negative compile-time constant size, `N`.
|
/// non-negative compile-time constant size, `N`.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue