diff options
| author | mbartlett21 <29034492+mbartlett21@users.noreply.github.com> | 2021-06-22 22:24:46 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-22 22:24:46 +1000 |
| commit | 9db5c483ab50d70db6381f70c17711e2e472c0d3 (patch) | |
| tree | 6c8d23e13e3a48d358321af479abf709941c44a5 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 75ed34223adb02c7bbfa5ae5e62c48952ff29914 (diff) | |
| download | rust-9db5c483ab50d70db6381f70c17711e2e472c0d3.tar.gz rust-9db5c483ab50d70db6381f70c17711e2e472c0d3.zip | |
Add destructuring example of E0508
This adds an example that destructures the array to move the value, instead of taking a reference or cloning.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
