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

Ch 3 edits #121

Closed
wants to merge 18 commits into from
Closed

Ch 3 edits #121

wants to merge 18 commits into from

Conversation

carols10cents
Copy link
Member

What I did to create this PR was:

  • Took the last ch3.md that I sent to Nostarch after technical review, including the rearranging I did, and "backported" each section into the src/ch03-* files.
  • Went through each section and resolved or removed any remaining comments, as necessary
  • Edited some other things I saw this time around

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!

@carols10cents
Copy link
Member Author

Just rebased to get the changes made in #119 incorporated here :)

Inside the function body, we added the following:

```rust,ignore
let x = 5;
Copy link
Member

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.

Copy link
Member Author

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.

@steveklabnik
Copy link
Member

Looks wonderful. I have a few tiny nits/comments

@carols10cents
Copy link
Member Author

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?

@aturon
Copy link
Member

aturon commented Jul 5, 2016

@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
Copy link
Member

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)?

@carols10cents
Copy link
Member Author

Closing this because I've merged it into the first-third-try branch, which will get merged eventually.

@steveklabnik steveklabnik deleted the ch3 branch August 29, 2016 16:15
AbrarNitk pushed a commit to FifthTry/rust-book that referenced this pull request Jun 2, 2021
AbrarNitk pushed a commit to FifthTry/rust-book that referenced this pull request Jun 2, 2021
AbrarNitk pushed a commit to FifthTry/rust-book that referenced this pull request Jun 2, 2021
AbrarNitk pushed a commit to FifthTry/rust-book that referenced this pull request Jun 2, 2021
AbrarNitk pushed a commit to FifthTry/rust-book that referenced this pull request Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants