Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ExpHP opened this issue Aug 23, 2018 · 1 comment
Closed

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

ExpHP opened this issue Aug 23, 2018 · 1 comment
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools

Comments

@ExpHP
Copy link
Contributor

ExpHP commented Aug 23, 2018

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

@csmoe csmoe added the A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools label Aug 23, 2018
@frewsxcv
Copy link
Member

Opened a PR for this: #54544

frewsxcv added a commit to frewsxcv/rust that referenced this issue Sep 29, 2018
kennytm added a commit to kennytm/rust that referenced this issue Oct 1, 2018
…eGomez

Indicate how to move value out of Box in docs.

Fixes rust-lang#53634.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools
Projects
None yet
Development

No branches or pull requests

3 participants