diff options
| author | Trevor Spiteri <tspiteri@ieee.org> | 2017-12-21 02:39:01 +0100 |
|---|---|---|
| committer | Trevor Spiteri <tspiteri@ieee.org> | 2017-12-21 02:39:01 +0100 |
| commit | 9d6bd0536aed290f4fe80b42820fcf2463d2f8b3 (patch) | |
| tree | 7ad43434c283c05405836e8eea77b2d206a3a39f /src/libstd/time | |
| parent | 7eb64b86ce44cc1828dd176a8b981e37ea08fc38 (diff) | |
| download | rust-9d6bd0536aed290f4fe80b42820fcf2463d2f8b3.tar.gz rust-9d6bd0536aed290f4fe80b42820fcf2463d2f8b3.zip | |
docs: do not call integer overflows as underflows
Diffstat (limited to 'src/libstd/time')
| -rw-r--r-- | src/libstd/time/duration.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 /// |
