Skip to content

Tracking Issue for arc_is_unique #138938

Open
@SabrinaJewson

Description

@SabrinaJewson

Feature gate: #![feature(arc_is_unique)]

This is a tracking issue for Arc::is_unique, a function that allows determining whether there is exactly one strong count and zero weak counts to an Arc.

Public API

// alloc::sync

impl<T> Arc<T> {
    pub fn is_unique(this: &Self) -> bool;
}

Steps / History

Unresolved Questions

  • None yet.

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions