Skip to content

README std::cell::OnceLock usage example #1034

@nyurik

Description

@nyurik

Rust v1.70 introduced a new std::cell::OnceCell primitive that should (in theory) replace the commonly used once_cell crate.

Regex README documents how to use the once_cell crate. Should it be updated with the now standardized OnceCell?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions