4 ms·
Range<Idx> only has one type parameter. Thankfully, you really cannot have a range with an i32 on one end and a String on another. It's also not possible to ca
by tomjakubowski 6y ago
Range<Idx> only has one type parameter. Thankfully, you really cannot have a range with an i32 on one end and a String on another.
It's also not possible to call methods like contains() on Range<Idx> unless the type is (Partial?)Ord, because of the constraint on Idx in the impl which defines those methods.