Skip to content

Commit 435de17

Browse files
committed
correct comment to match behavior
1 parent 04e7f96 commit 435de17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/time.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ impl Instant {
284284
}
285285

286286
/// Returns the amount of time elapsed from another instant to this one,
287-
/// or zero duration if that instant is earlier than this one.
287+
/// or zero duration if that instant is later than this one.
288288
///
289289
/// # Examples
290290
///

0 commit comments

Comments
 (0)