-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
tutorial: two kinds of box? #14503
Comments
A few sentences further, it appears "owned" means single owner? |
Yes, this terminology has certainly gotten a bit weird. |
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Sep 11, 2014
The Guide isn't 100% perfect, but it's basically complete. It's certainly better than the tutorial is. Time to start pointing more people its way. I also just made it consistent to call all things 'guides' rather than tutorials. Fixes rust-lang#9874. This is the big one. And two bugs that just go away. Fixes rust-lang#14503. Fixes rust-lang#15009.
bors
added a commit
that referenced
this issue
Sep 12, 2014
The Guide isn't 100% perfect, but it's basically complete. It's certainly better than the tutorial is. Time to start pointing more people its way. I also just made it consistent to call all things 'guides' rather than tutorials. Fixes #9874. This is the big one. And two bugs that just go away. Fixes #14503. Fixes #15009.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In http://static.rust-lang.org/doc/master/tutorial.html#ownership, both the just-introduced box operator is used, and a previously unseen parameterised type, Box. The latter is not introduced until http://static.rust-lang.org/doc/master/tutorial.html#boxes, where it is called an "owned box". This was confusing to my partner, who said "Aren't all objects owned? Is there such thing as a non-owned object?".
The text was updated successfully, but these errors were encountered: