diff options
| author | Steven Fackler <sfackler@gmail.com> | 2013-08-24 02:37:22 -0400 |
|---|---|---|
| committer | Steven Fackler <sfackler@gmail.com> | 2013-08-24 17:37:56 -0400 |
| commit | e173a96be0b084070c876111effc0b128a705eb2 (patch) | |
| tree | 2139df9ec04a9417c8e7e9a0c00c1e47e3abe1c2 /src/rustllvm/PassWrapper.cpp | |
| parent | c643f1d39c4c878fdb9fa25fb01c513d53afaa11 (diff) | |
| download | rust-e173a96be0b084070c876111effc0b128a705eb2.tar.gz rust-e173a96be0b084070c876111effc0b128a705eb2.zip | |
Add OwnedStr::into_bytes
My primary use case here is sending strings across the wire where the intermediate storage is a byte array. The new method ends up avoiding a copy.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
