Skip to content

Box docs don't mention that you can move out of them #53634

Closed
@ExpHP

Description

@ExpHP

I wanted to link somebody to documentation explaining that you can dereference a Box to move the value onto the stack, but... neither the boxed module nor Box mention this or show any examples!

https://doc.rust-lang.org/stable/std/boxed/index.html
https://doc.rust-lang.org/stable/std/boxed/struct.Box.html

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