Skip to content

Minor improvement to docs for rc::Rc #31950

Closed
@lukaslueg

Description

@lukaslueg

The docs for try_unwrap() currently read

Unwraps the contained value if the Rc has only one strong reference.

If I read this correctly, what it is actually saying is

Unwraps the contained value if and only if the Rc has exactly one strong reference.

Is this what is says?

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