about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhman523 <shbarbella@gmail.com>2019-09-09 21:19:01 -0500
committerhman523 <shbarbella@gmail.com>2019-09-09 21:19:01 -0500
commit79263afb3eeb3f02cc7b9b9c328206283d85e30a (patch)
tree8b4094ea079df951154a19c0e07950ea1036311c
parent0b36e9dea3f2ff25b1d0df2669836c33cce89ae5 (diff)
downloadrust-79263afb3eeb3f02cc7b9b9c328206283d85e30a.tar.gz
rust-79263afb3eeb3f02cc7b9b9c328206283d85e30a.zip
Changed instant is earlier to instant is later
-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
     ///