diff options
| author | bors <bors@rust-lang.org> | 2018-12-14 09:10:35 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-12-14 09:10:35 +0000 |
| commit | f4b07e0713b2d82417968db08cd0575734cdac0d (patch) | |
| tree | 3d0e3c2bafe69d07c7cd3d1d85ef679da42d2797 /src/librustdoc/html/static/source-script.js | |
| parent | 664ede88faf57b8fc09715fc66cd9e46490ce64d (diff) | |
| parent | 9e5e89a0d37b06e4f6915809b6a21409727acdc1 (diff) | |
| download | rust-f4b07e0713b2d82417968db08cd0575734cdac0d.tar.gz rust-f4b07e0713b2d82417968db08cd0575734cdac0d.zip | |
Auto merge of #56490 - faern:add-checked-add-to-instant, r=alexcrichton
Add checked_add method to Instant time type Appending functionality to the already opened topic of `checked_add` on time types over at #55940. Doing checked addition between an `Instant` and a `Duration` is important to reliably determine a future instant. We could use this in the `parking_lot` crate to compute an instant when in the future to wake a thread up without risking a panic.
Diffstat (limited to 'src/librustdoc/html/static/source-script.js')
0 files changed, 0 insertions, 0 deletions
