]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #38144 - clarcharr:redundant, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 7 Dec 2016 03:54:14 +0000 (03:54 +0000)
committerbors <bors@rust-lang.org>
Wed, 7 Dec 2016 03:54:14 +0000 (03:54 +0000)
Remove redundant assertion near is_char_boundary

Follow-up from #38056. `is_char_boundary` already checks for `idx <= len`, so, an extra assertion is redundant.


Trivial merge