Skip to content

Ch 8.03 Use or_default instead of or_insert? #1544

@pszpetkowski

Description

@pszpetkowski

Rust 1.28 has introduced the or_default and it seems like it's preferred over or_insert (rust-lang/rust#52592).

edit: closing the issue, since it's not really the same thing in this case.

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