Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

std: Redesign Duration, implementing RFC 1040 #24920

Merged
merged 1 commit into from May 14, 2015

Commits on May 14, 2015

  1. std: Redesign Duration, implementing RFC 1040

    This commit is an implementation of [RFC 1040][rfc] which is a redesign of the
    currently-unstable `Duration` type. The API of the type has been scaled back to
    be more conservative and it also no longer supports negative durations.
    
    [rfc]: https://github.com/rust-lang/rfcs/blob/master/text/1040-duration-reform.md
    
    The inner `duration` module of the `time` module has now been hidden (as
    `Duration` is reexported) and the feature name for this type has changed from
    `std_misc` to `duration`. All APIs accepting durations have also been audited to
    take a more flavorful feature name instead of `std_misc`.
    
    Closes rust-lang#24874
    alexcrichton committed May 14, 2015
    Configuration menu
    Copy the full SHA
    556e76b View commit details
    Browse the repository at this point in the history