about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-10 17:19:29 +0200
committerGitHub <noreply@github.com>2019-09-10 17:19:29 +0200
commit26a4af97436ff5e63367da8e24d529831808f887 (patch)
treeffcf56e0185be7df22051396aeaff0189c3518a3 /src/libstd
parent35c24b40191b3a6be7b47e4b97b1733a4ca51a35 (diff)
parent79263afb3eeb3f02cc7b9b9c328206283d85e30a (diff)
downloadrust-26a4af97436ff5e63367da8e24d529831808f887.tar.gz
rust-26a4af97436ff5e63367da8e24d529831808f887.zip
Rollup merge of #64331 - hman523:fix-64322, r=varkor
Changed instant is earlier to instant is later

Fixed the documentation issue from #64322
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/time.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/time.rs b/src/libstd/time.rs
index d59085cd44a..dbec4da24f9 100644
--- a/src/libstd/time.rs
+++ b/src/libstd/time.rs
@@ -216,7 +216,7 @@ impl Instant {
     }
 
     /// Returns the amount of time elapsed from another instant to this one,
-    /// or None if that instant is earlier than this one.
+    /// or None if that instant is later than this one.
     ///
     /// # Examples
     ///