Hacker News new | ask | show | jobs
by eridius 2579 days ago
AFAIK the only constraint on `Range::contains` is that the `Idx` type conforms to `PartialOrd`. So you could in fact have a `Range<String>` if you so desired.