Rollup merge of #41204 - remexre:master, r=steveklabnik
Fixes incorrect formatting in array's documentation. Changes - [`Clone`][clone] (only if `T: [Copy][copy]`) to - [`Clone`][clone] (only if `T: `[`Copy`](copy)) r? @steveklabnik
This commit is contained in:
commit
704cbad248
@ -277,7 +277,7 @@ mod prim_pointer { }
|
||||
/// Arrays of sizes from 0 to 32 (inclusive) implement the following traits if
|
||||
/// the element type allows it:
|
||||
///
|
||||
/// - [`Clone`][clone] (only if `T: [Copy][copy]`)
|
||||
/// - [`Clone`][clone] (only if `T: `[`Copy`][copy])
|
||||
/// - [`Debug`][debug]
|
||||
/// - [`IntoIterator`][intoiterator] (implemented for `&[T; N]` and `&mut [T; N]`)
|
||||
/// - [`PartialEq`][partialeq], [`PartialOrd`][partialord], [`Eq`][eq], [`Ord`][ord]
|
||||
|
Loading…
Reference in New Issue
Block a user