about summary refs log tree commit diff
path: root/library/std/src/time.rs
diff options
context:
space:
mode:
authorJohn Higgins <johnmatthiggins@gmail.com>2022-10-19 21:49:29 -0700
committerJohn Higgins <johnmatthiggins@gmail.com>2022-10-19 21:49:29 -0700
commita3ccb193be29ebf5580d4759a9f2b48df069c365 (patch)
tree1ab066a89772485daf636a5844d538d35aeaa942 /library/std/src/time.rs
parentcb9467515b5a9b15aaa905683c6b4dd9e851056c (diff)
downloadrust-a3ccb193be29ebf5580d4759a9f2b48df069c365.tar.gz
rust-a3ccb193be29ebf5580d4759a9f2b48df069c365.zip
Fixed docs typo in `library/std/src/time.rs`
Diffstat (limited to 'library/std/src/time.rs')
-rw-r--r--library/std/src/time.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/time.rs b/library/std/src/time.rs
index 759a59e1f98..d4a1b9d9b50 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].
     ///