From a3ccb193be29ebf5580d4759a9f2b48df069c365 Mon Sep 17 00:00:00 2001 From: John Higgins Date: Wed, 19 Oct 2022 21:49:29 -0700 Subject: [PATCH] Fixed docs typo in `library/std/src/time.rs` --- library/std/src/time.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/time.rs b/library/std/src/time.rs index 759a59e1f98d2..d4a1b9d9b50c8 100644 --- a/library/std/src/time.rs +++ b/library/std/src/time.rs @@ -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]. ///