about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2013-09-15 20:30:03 -0700
committerKevin Ballard <kevin@sb.org>2013-09-15 20:30:03 -0700
commit51470f3b97428756bee70e564db026ba2e2bceb6 (patch)
treeb16a3549799bce4e36b257601a1481c6e49c6540 /src/libsyntax
parent72f62abebfe5819de1762f5b91b237cc93a6b78c (diff)
downloadrust-51470f3b97428756bee70e564db026ba2e2bceb6.tar.gz
rust-51470f3b97428756bee70e564db026ba2e2bceb6.zip
c_str: Add new method .as_str() -> Option<&str>
Also rustify .as_bytes(), so it no longer calls libc::strlen() and is
inlineable.
Diffstat (limited to 'src/libsyntax')
0 files changed, 0 insertions, 0 deletions