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

Add const_cell_into_inner to OnceCell #129382

Merged
merged 1 commit into from
Aug 22, 2024

Commits on Aug 21, 2024

  1. Add const_cell_into_inner to OnceCell

    `Cell` and `RefCell` have their `into_inner` methods const unstable.
    `OnceCell` has the same logic, so add it under the same gate.
    
    Tracking issue: rust-lang#78729
    tgross35 committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    81c00dd View commit details
    Browse the repository at this point in the history