File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ pub use core::time::FromFloatSecsError;
49
49
/// A measurement of a monotonically nondecreasing clock.
50
50
/// Opaque and useful only with [`Duration`].
51
51
///
52
- /// Instants are always guaranteed to be no less than any previously measured
53
- /// instant when created, and are often useful for tasks such as measuring
52
+ /// Instants are always guaranteed, barring [platform bugs], to be no less than any previously
53
+ /// measured instant when created, and are often useful for tasks such as measuring
54
54
/// benchmarks or timing how long an operation takes.
55
55
///
56
56
/// Note, however, that instants are **not** guaranteed to be **steady**. In other
@@ -83,6 +83,8 @@ pub use core::time::FromFloatSecsError;
83
83
/// }
84
84
/// ```
85
85
///
86
+ /// [platform bugs]: Instant#monotonicity
87
+ ///
86
88
/// # OS-specific behaviors
87
89
///
88
90
/// An `Instant` is a wrapper around system-specific types and it may behave
You can’t perform that action at this time.
0 commit comments