]> git.lizzy.rs Git - rust.git/commit
std: Add a Duration type
authorBrian Anderson <banderson@mozilla.com>
Tue, 15 Jul 2014 02:18:07 +0000 (19:18 -0700)
committerBrian Anderson <banderson@mozilla.com>
Wed, 13 Aug 2014 18:31:47 +0000 (11:31 -0700)
commit5778ed4c926da6069ab899c8d4694527ed89190c
tree96880d75e60c278a6c15576d5fa25544875e5d3c
parentd9177707926d4fbed9dd9e4e7afc9a8c185dafe0
std: Add a Duration type

Taken from rust-chrono[1]. Needed for timers per #11189.
Experimental.

[1]: https://github.com/lifthrasiir/rust-chrono
src/libstd/duration.rs [new file with mode: 0644]
src/libstd/lib.rs