]> git.lizzy.rs Git - rust.git/commit
std: Refactor time module a bit
authorBrian Anderson <banderson@mozilla.com>
Fri, 1 Aug 2014 00:24:54 +0000 (17:24 -0700)
committerBrian Anderson <banderson@mozilla.com>
Wed, 13 Aug 2014 18:31:48 +0000 (11:31 -0700)
commit77cdaf018c98c1a89afcf8382c3f3e90907f49a7
treeff8def4d1ca544d550c94cd4939f7ec57cc70551
parent4475e6a095a8fe4459ac8b854ae2336e47aaafe5
std: Refactor time module a bit

Put `Duration` in `time::duration`, where the two constants can
be called just `MAX` and `MIN`. Reexport from `time`.
This provides more room for the time module to expand.
src/libstd/time.rs [deleted file]
src/libstd/time/duration.rs [new file with mode: 0644]
src/libstd/time/mod.rs [new file with mode: 0644]