diff options
| author | Kevin Ballard <kevin@sb.org> | 2013-09-15 20:30:03 -0700 |
|---|---|---|
| committer | Kevin Ballard <kevin@sb.org> | 2013-09-15 20:30:03 -0700 |
| commit | 51470f3b97428756bee70e564db026ba2e2bceb6 (patch) | |
| tree | b16a3549799bce4e36b257601a1481c6e49c6540 /src/libsyntax | |
| parent | 72f62abebfe5819de1762f5b91b237cc93a6b78c (diff) | |
| download | rust-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
