This is a tracking issue for PR #55527 .
This feature adds a checked_add(&self, &Duration) -> Option<SystemTime> function to std::time::SystemTime and as a prerequisite also for all platform specific time structs. This also led to the refactoring of many add_duration(&self, &Duration) -> SystemTime functions to avoid redundancy (they now unwrap the result of checked_add_duration).
This is a tracking issue for PR #55527 .
This feature adds a
checked_add(&self, &Duration) -> Option<SystemTime>function tostd::time::SystemTimeand as a prerequisite also for all platform specific time structs. This also led to the refactoring of manyadd_duration(&self, &Duration) -> SystemTimefunctions to avoid redundancy (they now unwrap the result ofchecked_add_duration).