Skip to content

AtomicBool does not implement Default #24319

@thepowersgang

Description

@thepowersgang

The three atomic types (AtomicBool, AtomicIsize, and AtomicUsize) which include const initialisers do not also implement Default.

I believe that they should, as the presence of ATOMIC_*_INIT implies that there is an accepted default value for these three types.

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