diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-04-11 18:36:15 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-11 18:36:15 -0400 |
| commit | 704cbad2487b25e38b7be1874d0da7268f81a1f1 (patch) | |
| tree | 330456fa6ef9cadb73fcff4075877bc3f3ef249a | |
| parent | c03061d347ead8bb4be2272d88bf6efc2f941f01 (diff) | |
| parent | b9d662a00026390aa7b7b5706d3c800e4d6e6fdb (diff) | |
| download | rust-704cbad2487b25e38b7be1874d0da7268f81a1f1.tar.gz rust-704cbad2487b25e38b7be1874d0da7268f81a1f1.zip | |
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
| -rw-r--r-- | src/libstd/primitive_docs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/primitive_docs.rs b/src/libstd/primitive_docs.rs index 5b2053e929a..052340a0f25 100644 --- a/src/libstd/primitive_docs.rs +++ b/src/libstd/primitive_docs.rs @@ -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] |
