about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2017-11-29 18:37:45 +0800
committerGitHub <noreply@github.com>2017-11-29 18:37:45 +0800
commit6006c0f35fdcdaa25dfd2cf76438ca2bb5e37d4b (patch)
tree1bd04211d90c025974500ceb6b67568034cc1af9 /src/libstd/sync
parent963ab91dd40a57c061229f006dcf8ce271d89664 (diff)
parent1ad38f2ce5b1075b64e586a6f383c431053126a6 (diff)
downloadrust-6006c0f35fdcdaa25dfd2cf76438ca2bb5e37d4b.tar.gz
rust-6006c0f35fdcdaa25dfd2cf76438ca2bb5e37d4b.zip
Rollup merge of #46219 - rust-lang:frewsxcv-issue-45636, r=GuillaumeGomez
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/libstd/sync')
0 files changed, 0 insertions, 0 deletions