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

Stabilize poison API of Once, rename poisoned() #81745

Merged
merged 1 commit into from
Feb 5, 2021

Commits on Feb 4, 2021

  1. Stabilize poison API of Once, rename poisoned()

    This stabilizes:
    
    * `OnceState`
    * `OnceState::is_poisoned()` (previously named `poisoned()`)
    * `Once::call_once_force()`
    
    `poisoned()` was renamed because the new name is more clear as a few
    people agreed and nobody objected.
    
    Closes rust-lang#33577
    Kixunil committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    f42e961 View commit details
    Browse the repository at this point in the history