From 9d6bd0536aed290f4fe80b42820fcf2463d2f8b3 Mon Sep 17 00:00:00 2001 From: Trevor Spiteri Date: Thu, 21 Dec 2017 02:39:01 +0100 Subject: docs: do not call integer overflows as underflows --- src/libstd/time/duration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/time') diff --git a/src/libstd/time/duration.rs b/src/libstd/time/duration.rs index a74e8a21c42..15ddb62bab5 100644 --- a/src/libstd/time/duration.rs +++ b/src/libstd/time/duration.rs @@ -290,7 +290,7 @@ impl Duration { } /// Checked `Duration` subtraction. Computes `self - other`, returning [`None`] - /// if the result would be negative or if underflow occurred. + /// if the result would be negative or if overflow occurred. /// /// [`None`]: ../../std/option/enum.Option.html#variant.None /// -- cgit 1.4.1-3-g733a5