Skip to content

Ch 3 edits#121

Closed
carols10cents wants to merge 18 commits into
masterfrom
ch3
Closed

Ch 3 edits#121
carols10cents wants to merge 18 commits into
masterfrom
ch3

Conversation

@carols10cents

Copy link
Copy Markdown
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 carols10cents changed the title Ch3 Ch 3 edits Jul 5, 2016
@carols10cents

Copy link
Copy Markdown
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
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
Contributor

Looks wonderful. I have a few tiny nits/comments

@carols10cents

Copy link
Copy Markdown
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

aturon commented Jul 5, 2016

Copy link
Copy Markdown

@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
Copy Markdown

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
Copy Markdown
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