Skip to content

Deprecate AtomicCell::compare_and_swap #618

Closed
@taiki-e

Description

@taiki-e

The standard library deprecated compare_and_swap in favor of compare_exchange(_weak) in 1.50. (rust-lang/rust#79261)

Given why std compare_and_swap was deprecated, it probably makes sense to do the same with AtomicCell::compare_and_swap.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions