time: fix typo in Instant::saturating_duration_since docs (#3864)

This commit is contained in:
teor 2021-06-16 20:50:30 +10:00 committed by GitHub
parent 4a93af4d25
commit 60bd40d529
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ impl Instant {
} }
/// Returns the amount of time elapsed from another instant to this one, or /// Returns the amount of time elapsed from another instant to this one, or
/// zero duration if that instant is earlier than this one. /// zero duration if that instant is later than this one.
/// ///
/// # Examples /// # Examples
/// ///