]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #7096 : huonw/rust/invalid-null-str, r=thestinger
authorbors <bors@rust-lang.org>
Thu, 13 Jun 2013 06:10:15 +0000 (23:10 -0700)
committerbors <bors@rust-lang.org>
Thu, 13 Jun 2013 06:10:15 +0000 (23:10 -0700)
A slice of a 'static str is still 'static, but doesn't necessarily
have the null terminator.


Trivial merge