diff options
| author | kennytm <kennytm@gmail.com> | 2017-10-17 22:21:05 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-17 22:21:05 +0800 |
| commit | 7f72b311653401226fedeb29bcae484993a14ac0 (patch) | |
| tree | 6bfe70bf3f8b0a5a32d03bc7fd54bd42a27bd30b /src/rustllvm/RustWrapper.cpp | |
| parent | e72c2a82991b19e199a47881546394860c0af97a (diff) | |
| parent | 8528508aa0850fa8286fb73503fb93263edaa976 (diff) | |
| download | rust-7f72b311653401226fedeb29bcae484993a14ac0.tar.gz rust-7f72b311653401226fedeb29bcae484993a14ac0.zip | |
Rollup merge of #45339 - xfix:patch-4, r=steveklabnik
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()
}
```
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
