]> git.lizzy.rs Git - rust.git/commitdiff
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)
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.


Trivial merge