-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Editing Chapter 1 #29538
Editing Chapter 1 #29538
Conversation
Lots of little details and things.
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
Also note that the function body is wrapped in curly braces (`{` and `}`). Rust | ||
requires these around all function bodies. It's considered good style to put | ||
the opening curly brace on the same line as the function declaration, with one | ||
line space in between. |
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.
Should this just be "space" instead of "line space"?
7518fbf
to
2f4fbb2
Compare
Conceptually, this makes more sense as one introductory chapter.
Fixed up @apasel422 's comments, as well as fixing the build 😓 |
| `x86_64-unknown-dragonfly` | ✓ | ✓ | | 64-bit DragonFlyBSD | | ||
| `x86_64-rumprun-netbsd` | ✓ | | | 64-bit NetBSD Rump Kernel | | ||
| `i686-pc-windows-msvc` (XP) | ✓ | | | Windows XP support | | ||
| `x86_64-pc-windows-msvc` (XP) | ✓ | | | Windows XP support | |
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 list is sure to be insta-outdated in dead-tree format...
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.
Yeah, I am not entirely sure what to do about that, exactly.
r=me |
@bors: r=brson rollup |
📌 Commit 7bb193c has been approved by |
Thanks @brson! I didn't leave a comment for every change, but I should have addressed it all. |
I did some preliminary editing work with No Starch on the first chapter of the book, and here's some of the results. We're going to want to return to this later when @brson etc's new rustup work is done, so this is mostly just a first pass. But, we agreed that having separate chapters for each of this bit of intro is a bit excessive. So let's move all of this intro stuff into one chapter. I'd appreciate a careful review of this, as there was also some confusion about some things, which resulted in me taking one huge markdown file apart and splitting it back up, as well as some editor issues, so I _think_ this looks good, but double checking things matters! /cc @aturon
It was moved in rust-lang#29538.
I did some preliminary editing work with No Starch on the first chapter of the book, and here's some of the results. We're going to want to return to this later when @brson etc's new rustup work is done, so this is mostly just a first pass.
But, we agreed that having separate chapters for each of this bit of intro is a bit excessive. So let's move all of this intro stuff into one chapter.
I'd appreciate a careful review of this, as there was also some confusion about some things, which resulted in me taking one huge markdown file apart and splitting it back up, as well as some editor issues, so I think this looks good, but double checking things matters!
/cc @aturon