Skip to content

7.2.24 refers to move operator in pattern matches #5700

Closed
@jdm

Description

@jdm

This can be made explicit using the copy keyword, changed to bind to a borrowed pointer by using the ref keyword, or to a mutable borrowed pointer using ref mut, or the value can be moved into the new binding using move.

Move no longer exists.

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