about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2013-11-07 18:59:40 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2013-11-08 10:20:06 +1100
commitb95a8c63fd7f89d38dc5ddee106cb0865274874e (patch)
treec76794d120c73760762c6a115dd7462ed38ef3de /src/rustllvm/RustWrapper.cpp
parent7fc689305cd38a0168ed5b139f4c118f81e2217e (diff)
downloadrust-b95a8c63fd7f89d38dc5ddee106cb0865274874e.tar.gz
rust-b95a8c63fd7f89d38dc5ddee106cb0865274874e.zip
std::ascii: Provide a copyless [Ascii] -> str method.
This renames to_str_ascii to as_str_ascii and makes it non-copying,
which is possible now that strings no longer have a hidden extra
byte/null terminator.

Fixes #6120.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions