]> git.lizzy.rs Git - rust.git/commit
auto merge of #12314 : huonw/rust/is_utf8_iter, r=kballard
authorbors <bors@rust-lang.org>
Tue, 18 Feb 2014 12:06:48 +0000 (04:06 -0800)
committerbors <bors@rust-lang.org>
Tue, 18 Feb 2014 12:06:48 +0000 (04:06 -0800)
commite4ce8a9689174ba09d3c32410681591263b97645
tree8e829147e5a941a907ba0a50556b31bc5dacb533
parentb3ed38f2196e8636f9f295da8d06c6921db183fe
parenta39056e614b61489a8b8afc4171586e454d4dcbd
auto merge of #12314 : huonw/rust/is_utf8_iter, r=kballard

See the commit messages for more details, but this makes `std::str::is_utf8` slightly faster and 100% non-`unsafe` and uses a similar thing to make the first scan of `from_utf8_lossy` 100% safe & faster.