about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2020-03-20 15:42:56 -0700
committerJosh Stone <jistone@redhat.com>2020-04-06 18:26:37 -0700
commitb80fa76ee0a160fffa04e337b8e33ef655a80649 (patch)
treea205766bb316383a2b1f50f6f6d3090f10aa3f9e /src/test/debuginfo/enum-thinlto.rs
parente8339e820b0c4e7c9a26a3e3495b7655e60bd102 (diff)
downloadrust-b80fa76ee0a160fffa04e337b8e33ef655a80649.tar.gz
rust-b80fa76ee0a160fffa04e337b8e33ef655a80649.zip
Implement ToOwned::clone_into for CStr
It can try to keep its allocation by converting the inner `Box` to
`Vec`, using `clone_into` on the bytes, then convert back to `Box`.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions