Fixed docs typo in library/std/src/time.rs

This commit is contained in:
John Higgins 2022-10-19 21:49:29 -07:00
parent cb9467515b
commit a3ccb193be
No known key found for this signature in database
GPG Key ID: 192DF5D301BD714C

View File

@ -356,7 +356,7 @@ impl Instant {
///
/// # Panics
///
/// Previous rust versions panicked when self was earlier than the current time. Currently this
/// Previous rust versions panicked when the current time was earlier than self. Currently this
/// method returns a Duration of zero in that case. Future versions may reintroduce the panic.
/// See [Monotonicity].
///