mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
b3ffd3344e
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.