Skip to content

unwrap function documentation don't mention implicit copyability #9099

Closed
@metajack

Description

@metajack

The documentation for Option unwrap (and possibly others) is currently wrong. It does not always move the value, since the value may be implicitly copyable. This needs to be mentioned in the docs, or the types that have unwrap methods should be annotated to make them not implicitly copyable (see #9098).

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions