Skip to content

[patterns.ref.info] unclear wording: "and, thus, borrow them" #1849

Open
@jofas

Description

@jofas

The first sentence of [patterns.ref.info] states (my emphasis):

Reference patterns dereference the pointers that are being matched and, thus, borrow them.

The emphasised part reads a bit confusing to me and I'm still unsure what is meant by it. Maybe it could be clarified? Or omitted? I can't find similar terminology in the FLS.

The URLO topic that raised the issue:

https://users.rust-lang.org/t/discussing-reference-patterns/130495?u=jofas

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