about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2013-08-24 02:37:22 -0400
committerSteven Fackler <sfackler@gmail.com>2013-08-24 17:37:56 -0400
commite173a96be0b084070c876111effc0b128a705eb2 (patch)
tree2139df9ec04a9417c8e7e9a0c00c1e47e3abe1c2 /src/rustllvm/PassWrapper.cpp
parentc643f1d39c4c878fdb9fa25fb01c513d53afaa11 (diff)
downloadrust-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