We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 976dfa4 commit 976e2a6Copy full SHA for 976e2a6
1 file changed
src/time.rs
@@ -155,7 +155,7 @@ impl StdClock {
155
/// let clock_a = StdClock::with_anchor(anchor);
156
/// let clock_b = StdClock::with_anchor(anchor);
157
/// // Both clocks share the same epoch.
158
- /// assert!(clock_b.now() >= clock_a.now() || clock_a.now() == clock_b.now());
+ /// assert!(clock_b.now() >= clock_a.now());
159
/// ```
160
#[must_use]
161
pub fn with_anchor(anchor: Instant) -> Self {
0 commit comments