Skip to content

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

@ExpHP

Description

@ExpHP
Contributor

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

Activity

added
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools
on Aug 23, 2018
frewsxcv

frewsxcv commented on Sep 25, 2018

@frewsxcv
Member

Opened a PR for this: #54544

added a commit that references this issue on Oct 1, 2018
4941670
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @frewsxcv@ExpHP@csmoe

        Issue actions

          Box docs don't mention that you can move out of them · Issue #53634 · rust-lang/rust