mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
Fixed docs typo in library/std/src/time.rs
This commit is contained in:
parent
cb9467515b
commit
a3ccb193be
@ -356,7 +356,7 @@ impl Instant {
|
|||||||
///
|
///
|
||||||
/// # Panics
|
/// # 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.
|
/// method returns a Duration of zero in that case. Future versions may reintroduce the panic.
|
||||||
/// See [Monotonicity].
|
/// See [Monotonicity].
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user