From bccd076cbcc47060b293bcf8da13337e2cf624ed Mon Sep 17 00:00:00 2001 From: Thomas Korrison Date: Wed, 27 May 2026 19:33:52 +0100 Subject: [PATCH] Apply suggested fix to src/time.rs from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- src/time.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/time.rs b/src/time.rs index f4245ae..72c8735 100644 --- a/src/time.rs +++ b/src/time.rs @@ -155,7 +155,7 @@ impl StdClock { /// let clock_a = StdClock::with_anchor(anchor); /// let clock_b = StdClock::with_anchor(anchor); /// // Both clocks share the same epoch. - /// assert!(clock_b.now() >= clock_a.now() || clock_a.now() == clock_b.now()); + /// assert!(clock_b.now() >= clock_a.now()); /// ``` #[must_use] pub fn with_anchor(anchor: Instant) -> Self {