Skip to content

Commit 26a4af9

Browse files
authored
Rollup merge of #64331 - hman523:fix-64322, r=varkor
Changed instant is earlier to instant is later Fixed the documentation issue from #64322
2 parents 35c24b4 + 79263af commit 26a4af9

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
@@ -216,7 +216,7 @@ impl Instant {
216216
}
217217

218218
/// Returns the amount of time elapsed from another instant to this one,
219-
/// or None if that instant is earlier than this one.
219+
/// or None if that instant is later than this one.
220220
///
221221
/// # Examples
222222
///

0 commit comments

Comments
 (0)