RangeBounds<T> impl for Range*<&T> is missing ?Sized #64027
Labels
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Much like the impl for
(Bounds<&T>, Bounds<&T>)
,impl<T> RangeBounds<T> for RangeFrom<&T> {
could use aT: ?Sized
. This would allowto compile the way it does when using Bound. (Unfortunately I think the turbofish is still needed, and I don't see any better way to use range on a String)
(Range and RangeTo of course also would want this)
The text was updated successfully, but these errors were encountered: