sendittothenewts

Results 3 comments of sendittothenewts

I've just tripped this lint in some code that uses the `.end()` method, so applying the suggestion would've introduced an off-by-one bug that would not have been caught by the...

Ah yes, since `end` in only a method on `RangeInclusive`, and a field on the other `Range` types, there actually would be a compile failure in the specific case I...

Yes, that's right. Without the `To`, the problem is still there, but at least there happens to be another compiler error to bring it to your attention.