diff options
| author | Jack O'Connor <oconnor663@gmail.com> | 2018-08-23 18:22:53 -0400 |
|---|---|---|
| committer | Jack O'Connor <oconnor663@gmail.com> | 2018-09-20 00:57:05 -0400 |
| commit | b3ffd3344e3ac5e2468c7255c2bbecac13daab82 (patch) | |
| tree | 505ea34e24c9657055bce47c950ea7f05c5ac85a /src/libsyntax/parse | |
| parent | 1d33aedaa928cc92d58c0bfe7ff433714ff52976 (diff) | |
| download | rust-b3ffd3344e3ac5e2468c7255c2bbecac13daab82.tar.gz rust-b3ffd3344e3ac5e2468c7255c2bbecac13daab82.zip | |
define copy_within on slices
This is a safe wrapper around ptr::copy, for regions within a single slice. Previously, safe in-place copying was only available as a side effect of Vec::drain.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions
