about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorJack O'Connor <oconnor663@gmail.com>2018-08-23 18:22:53 -0400
committerJack O'Connor <oconnor663@gmail.com>2018-09-20 00:57:05 -0400
commitb3ffd3344e3ac5e2468c7255c2bbecac13daab82 (patch)
tree505ea34e24c9657055bce47c950ea7f05c5ac85a /src/libsyntax/parse
parent1d33aedaa928cc92d58c0bfe7ff433714ff52976 (diff)
downloadrust-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