Impl SliceIndex<str> for (Bound<usize>, Bound<usize>)

SliceIndex<str> is explicitly implemented for every known R: RangeBounds<usize> except (Bound<usize>, Bound<usize>). Is there a reason for the omission?

That implementation of SliceIndex<[T]> is fairly recent, rust#77704, and AFAICS they just didn't consider the equivalent SliceIndex<str>. It was mentioned in the original issue rust#49976 though, and I do think that would make sense to add that for consistency.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.