Much like the impl for (Bounds<&T>, Bounds<&T>), impl<T> RangeBounds<T> for RangeFrom<&T> { could use a T: ?Sized. This would allow
let map = BTreeMap::<String, i32>::new()
map.range::<str, _>("a"..);
to 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)
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)