Skip to content

document ref #3337

Closed
Closed
@jesse99

Description

@jesse99

Apparently ref can be used when binding variables during pattern matching, but I don't think that is documented. What is documented in 11.2 of the tutorial is "When you destructure on a value in a match expression, or loop over a vector with for, variables bound to the inside of the given data structure will use safe references, not copies" which I'm guessing is incorrect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions