-
Notifications
You must be signed in to change notification settings - Fork 13k
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: confusing paragraph in section 8 #15293
Comments
I agree. However, given that I'm currently re-writing it, I don't want to put in a ton of effort to fix this here. I'd love a simple patch to fix this... maybe just link to the other parts where this has been talked about? |
I myself don't understand enough yet to suggest a correction or simplification. |
No worries. Thanks for raising the issue. |
Simplify example in 5.2 to remove hidden `#[deriving(Show)]`. Traits haven't been introduced yet and now it's easier to just type in the code and expect it to work. Add in some examples for constructing the enum types. Explicitly expose `#![feature(struct_variant)]` in the code to make it more transparent, this bit me when I worked through the tutorial. Add references in chapter 8 to later chapters describing `Rc`, `Gc` and `Send`. This is a simple fix for #15293. Simplify vector indexing example in chapter 13 and removed hidden, unnecessary, code. Gave an example usage of the derived `Rand` trait in chapter 17. Removed references to removed 'extra' crate.
#15745 should have fixed this, or at least, as much as it's getting fixed, given the tutorial's impending death. |
In section 8 ("Ownership") there is:
This uses a bunch of terms and ideas that haven't been introduced at that stage of the tutorial.
The text was updated successfully, but these errors were encountered: