Stabilize the Duration API
This commit stabilizes the `std::time` module and the `Duration` type. `Duration::span` remains unstable, and the `Display` implementation for `Duration` has been removed as it is still being reworked and all trait implementations for stable types are de facto stable. This is a [breaking-change] to those using `Duration`'s `Display` implementation.
This commit is contained in:
parent
af32c015aa
commit
999bdeca88
19 changed files with 51 additions and 80 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
//! Temporal quantification.
|
||||
|
||||
#![unstable(feature = "time")]
|
||||
#![stable(feature = "time", since = "1.3.0")]
|
||||
|
||||
pub use self::duration::Duration;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue