Fixed docs typo in library/std/src/time.rs
This commit is contained in:
parent
cb9467515b
commit
a3ccb193be
1 changed files with 1 additions and 1 deletions
|
@ -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].
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue