diff options
| author | John Higgins <johnmatthiggins@gmail.com> | 2022-10-19 21:49:29 -0700 |
|---|---|---|
| committer | John Higgins <johnmatthiggins@gmail.com> | 2022-10-19 21:49:29 -0700 |
| commit | a3ccb193be29ebf5580d4759a9f2b48df069c365 (patch) | |
| tree | 1ab066a89772485daf636a5844d538d35aeaa942 /library/std/src | |
| parent | cb9467515b5a9b15aaa905683c6b4dd9e851056c (diff) | |
| download | rust-a3ccb193be29ebf5580d4759a9f2b48df069c365.tar.gz rust-a3ccb193be29ebf5580d4759a9f2b48df069c365.zip | |
Fixed docs typo in `library/std/src/time.rs`
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/time.rs | 2 |
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]. /// |
