]> git.lizzy.rs Git - rust.git/commit
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)
commit2562f480f53fd3d15822034d441441ffbd04dbe4
tree5d1e9493efdcf2ac805496a605e58e70fccf9ab7
parent3e1803f3af1adc1b2e5595650f6920f40bbedc2e
parent51470f3b97428756bee70e564db026ba2e2bceb6
auto merge of #9220 : kballard/rust/c_str-as_str, r=thestinger

Also rustify .as_bytes(), so it no longer calls libc::strlen() and is
inlineable.