Adding checked_sub to Duration


#1

I just noticed that Duration panics when subtracting a longer Duration.

Would it be possible or useful to add something like usize::checked_sub for Duration?

If yes, should I post to the internals forum, open an issue or send a PR?


#2

Sounds like a good idea. I think you’re supposed to submit an RFC if you want to add new public APIs.