diff options
| author | bors <bors@rust-lang.org> | 2015-11-07 13:31:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-11-07 13:31:10 +0000 |
| commit | 86069e45fe8fc15bc6103ffde9b4371ce826df2c (patch) | |
| tree | 496c6eb02f3f522d775bf8a4b39b2d2771496664 /src/libstd | |
| parent | d34daf38e8e207ffc0b09456940752491ae20581 (diff) | |
| parent | 4f6eb1e93a68c569c35e37de01e8d25645b67424 (diff) | |
| download | rust-86069e45fe8fc15bc6103ffde9b4371ce826df2c.tar.gz rust-86069e45fe8fc15bc6103ffde9b4371ce826df2c.zip | |
Auto merge of #29671 - ollie27:patch-1, r=bluss
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/primitive_docs.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstd/primitive_docs.rs b/src/libstd/primitive_docs.rs index 7d62d477a0a..df12952fc32 100644 --- a/src/libstd/primitive_docs.rs +++ b/src/libstd/primitive_docs.rs @@ -165,12 +165,14 @@ 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`) /// - `Debug` /// - `IntoIterator` (implemented for `&[T; N]` and `&mut [T; N]`) /// - `PartialEq`, `PartialOrd`, `Ord`, `Eq` /// - `Hash` /// - `AsRef`, `AsMut` +/// - `Borrow`, `BorrowMut` +/// - `Default` /// /// Arrays dereference to [slices (`[T]`)][slice], so their methods can be called /// on arrays. |
