diff options
| author | Josh Stone <jistone@redhat.com> | 2020-03-20 15:42:56 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2020-04-06 18:26:37 -0700 |
| commit | b80fa76ee0a160fffa04e337b8e33ef655a80649 (patch) | |
| tree | a205766bb316383a2b1f50f6f6d3090f10aa3f9e /src/test/debuginfo/enum-thinlto.rs | |
| parent | e8339e820b0c4e7c9a26a3e3495b7655e60bd102 (diff) | |
| download | rust-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
