]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #9220 : kballard/rust/c_str-as_str, r=thestinger
authorbors <bors@rust-lang.org>
Mon, 16 Sep 2013 13:30:51 +0000 (06:30 -0700)
committerbors <bors@rust-lang.org>
Mon, 16 Sep 2013 13:30:51 +0000 (06:30 -0700)
Also rustify .as_bytes(), so it no longer calls libc::strlen() and is
inlineable.


Trivial merge