about summary refs log tree commit diff
path: root/src/librustdoc/html/static/source-script.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-12-14 09:10:35 +0000
committerbors <bors@rust-lang.org>2018-12-14 09:10:35 +0000
commitf4b07e0713b2d82417968db08cd0575734cdac0d (patch)
tree3d0e3c2bafe69d07c7cd3d1d85ef679da42d2797 /src/librustdoc/html/static/source-script.js
parent664ede88faf57b8fc09715fc66cd9e46490ce64d (diff)
parent9e5e89a0d37b06e4f6915809b6a21409727acdc1 (diff)
downloadrust-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