]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #45339 - xfix:patch-4, r=steveklabnik
authorkennytm <kennytm@gmail.com>
Tue, 17 Oct 2017 14:21:05 +0000 (22:21 +0800)
committerGitHub <noreply@github.com>
Tue, 17 Oct 2017 14:21:05 +0000 (22:21 +0800)
Update array documentation for Clone trait changes

Just a note, for this to work, `T` doesn't have to `Copy`, `Clone` is sufficient. For instance, the following works.

```rust
fn x(a: &[String; 100]) -> [String; 100] {
    a.clone()
}
```


Trivial merge