Unnamed repository; edit this file 'description' to name the repository.
Rollup merge of #156119 - Kmeakin:km/optimize-str-index, r=Mark-Simulacrum
Further optimize `SliceIndex<str>` impl for `Range<usize>`
We can shave a further 2 `icmp`s by inlining `is_char_boundary` and rearranging the checks.
Follow up to https://github.com/rust-lang/rust/pull/145024