Skip to content

Commit df0a9ee

Browse files
committed
fixup: quick updates for docs
1 parent 8746d82 commit df0a9ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/shared/clock/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
//! Duration: 1679929914.10167426
1717
//! ```
1818
//!
19-
//! > **NOTICE**: internally the `Duration` is a `u64` and it will
20-
//! [overflow in the year 2038](https://en.wikipedia.org/wiki/Year_2038_problem).
19+
//! > **NOTICE**: internally the `Duration` is stores it's main unit as seconds in a `u64` and it will
20+
//! overflow in 584.9 billion years.
2121
//!
2222
//! > **NOTICE**: the timestamp does not depend on the time zone. That gives you
2323
//! the ability to use the clock regardless of the underlying system time zone
@@ -227,7 +227,7 @@ pub trait StoppedTime: TimeNow {
227227
/// Will return `IntErrorKind` if `duration` would underflow the internal `Duration`.
228228
fn local_sub(duration: &Duration) -> Result<(), IntErrorKind>;
229229

230-
/// It resets the clock to default fixed time which is the the Unix Epoch.
230+
/// It resets the clock to default fixed time that is application start time (or the unix epoch when testing).
231231
fn local_reset();
232232
}
233233

0 commit comments

Comments
 (0)