Skip to content

std docs: strange notation in std::pin docs #59832

Closed
@ehuss

Description

@ehuss

The std::pin module uses strange [mut] notation. For example, Pin<&[mut] Self>). I cannot discern what it is trying to say. I think it should probably not use the brackets, or explain what the syntax means?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions