std: Add a Duration type
Taken from rust-chrono[1]. Needed for timers per #11189. Experimental. [1]: https://github.com/lifthrasiir/rust-chrono
This commit is contained in:
parent
d917770792
commit
5778ed4c92
2 changed files with 417 additions and 0 deletions
|
@ -233,6 +233,8 @@ pub mod ascii;
|
|||
#[cfg(not(test))]
|
||||
pub mod gc;
|
||||
|
||||
pub mod duration;
|
||||
|
||||
/* Common traits */
|
||||
|
||||
pub mod from_str;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue