Skip to content

Reference not updated to describe disjoint capture in closures #97451

Closed as not planned
@pali6

Description

@pali6

The Capture Modes section of the Rust reference seems to predate the implementation of the capture disjoint fields RFS and says that composite types are always captured entirely which is no longer the case.


@rustbot modify labels: A-docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions