So obviously I could do something like:
impl From<RangeInclusive<u32>> for Range<u32>{
fn from(r: RangeInclusive<u32>) -> Self {
(*r.start()..(r.end()+1))
}
}
However I was wondering if there was already a standard function for this?(I was unable to find anything in docs/ after a quick Google). If not how would one go about implementing this for every num type, and would such an implementation be welcome to rust, or is there a reason why this is not already implemented?