extern crate std;
use ::core::time::Duration;
use crate::Instant;
impl Instant for ::std::time::SystemTime {
fn now() -> Self {
Self::now()
}
fn checked_add(&self, duration: Duration) -> Option<Self> {
self.checked_add(duration)
}
fn checked_sub(&self, duration: Duration) -> Option<Self> {
self.checked_sub(duration)
}
fn saturating_duration_since(&self, earlier: Self) -> Duration {
self.duration_since(earlier).unwrap_or(Duration::ZERO)
}
}