Skip to content

Commit a3ccb19

Browse files
Fixed docs typo in library/std/src/time.rs
1 parent cb94675 commit a3ccb19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/time.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ impl Instant {
356356
///
357357
/// # Panics
358358
///
359-
/// Previous rust versions panicked when self was earlier than the current time. Currently this
359+
/// Previous rust versions panicked when the current time was earlier than self. Currently this
360360
/// method returns a Duration of zero in that case. Future versions may reintroduce the panic.
361361
/// See [Monotonicity].
362362
///

0 commit comments

Comments
 (0)