about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-11-22 19:54:06 -0500
committerCorey Farwell <coreyf@rwell.org>2017-11-24 07:09:05 -0800
commit1ad38f2ce5b1075b64e586a6f383c431053126a6 (patch)
tree4c786f02792ea1826950ce746636f162cba6cd75 /src/rustllvm/RustWrapper.cpp
parent85d50ce1c72dc577fad26a81acea390c60bb48c2 (diff)
downloadrust-1ad38f2ce5b1075b64e586a6f383c431053126a6.tar.gz
rust-1ad38f2ce5b1075b64e586a6f383c431053126a6.zip
Improve documentation for slice swap/copy/clone operations.
Fixes #45636.

- Demonstrate how to use these operations with slices of differing
  lengths
- Demonstrate how to swap/copy/clone sub-slices of a slice using
  `split_at_mut`
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions