-
Notifications
You must be signed in to change notification settings - Fork 3.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
Ch 3 edits #121
Ch 3 edits #121
Conversation
Just rebased to get the changes made in #119 incorporated here :) |
Inside the function body, we added the following: | ||
|
||
```rust,ignore | ||
let x = 5; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if this indent should be here or not. Hm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks kinda weird in the rendered HTML... I'mma take it out.
Looks wonderful. I have a few tiny nits/comments |
Fix some parts that didn't make sense anymore since I moved data structures before this section-- tuples and destructuring have already been defined.
I added a bit about the other style of comments being possible since it's preferred for accessibility reasons: rust-lang/rfcs#1574 (comment)
Bad text editor. Not helpful. No.
Sorry, it doesn't actually take me an hour to rebase, I got distracted 😅 Anyone else want to review before merging this? @aturon or @jonathandturner maybe? |
@carols10cents I will try to get to it today if at all possible! |
|
||
### Keywords | ||
|
||
First, keep in mind that the Rust language has a set of *keywords* that have |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels like a pretty big tangent, especially so early on in the book. Is there any way we can at least put the list itself into an appendix (that we link to)?
Closing this because I've merged it into the first-third-try branch, which will get merged eventually. |
What I did to create this PR was:
src/ch03-*
files.Keeping in mind that we're trying to cover the most important essentials at this stage in a person's rust education, I did remove a few sections that covered subtleties that, imo, are not super important to get into in chapter 3, like
mut
applying to the binding, not the value.I'd love any thoughts or feedback from anyone!