Skip to content

Commit 976e2a6

Browse files
Apply suggested fix to src/time.rs from Copilot Autofix (#143)
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent 976dfa4 commit 976e2a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/time.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ impl StdClock {
155155
/// let clock_a = StdClock::with_anchor(anchor);
156156
/// let clock_b = StdClock::with_anchor(anchor);
157157
/// // Both clocks share the same epoch.
158-
/// assert!(clock_b.now() >= clock_a.now() || clock_a.now() == clock_b.now());
158+
/// assert!(clock_b.now() >= clock_a.now());
159159
/// ```
160160
#[must_use]
161161
pub fn with_anchor(anchor: Instant) -> Self {

0 commit comments

Comments
 (0)