mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +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
|
||||
///
|
||||
/// 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…
Reference in New Issue
Block a user