diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-11-07 18:59:40 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-11-08 10:20:06 +1100 |
| commit | b95a8c63fd7f89d38dc5ddee106cb0865274874e (patch) | |
| tree | c76794d120c73760762c6a115dd7462ed38ef3de /src/rustllvm/RustWrapper.cpp | |
| parent | 7fc689305cd38a0168ed5b139f4c118f81e2217e (diff) | |
| download | rust-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
