From 435de171a3a6ae5e41bf22e00e030654a557400c Mon Sep 17 00:00:00 2001 From: Zan Tysor Date: Sat, 29 Feb 2020 08:40:09 -0500 Subject: [PATCH] correct comment to match behavior --- src/libstd/time.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/time.rs b/src/libstd/time.rs index 68a54915873..c36e78b1d00 100644 --- a/src/libstd/time.rs +++ b/src/libstd/time.rs @@ -284,7 +284,7 @@ pub fn checked_duration_since(&self, earlier: Instant) -> Option { } /// Returns the amount of time elapsed from another instant to this one, - /// or zero duration if that instant is earlier than this one. + /// or zero duration if that instant is later than this one. /// /// # Examples /// -- 2.44.0