Carol (Nichols || Goulding)
d61336d619
Switch out item
for byte
to avoid overloading byte
2016-08-02 17:07:34 -04:00
Carol (Nichols || Goulding)
8e5bba01d6
Clarify this code sample with less shadowing and more comments
2016-08-02 17:01:48 -04:00
Carol (Nichols || Goulding)
9152b70a09
Use bash syntax highlighting for error message output
2016-08-02 16:41:49 -04:00
Carol (Nichols || Goulding)
ea4ec59c50
Remove hidden code until #96 is fixed
2016-08-02 16:40:49 -04:00
Carol (Nichols || Goulding)
5352d363f5
Remove "same deal"-- redundant with "also" before the code
2016-08-02 16:31:29 -04:00
Carol (Nichols || Goulding)
ba95d0a22f
Wrapping
2016-08-02 16:31:21 -04:00
Carol (Nichols || Goulding)
32f087ef36
Explain matching on &byte
a bit more
2016-08-02 16:31:01 -04:00
Carol (Nichols || Goulding)
87154266d3
Trim a bit of detail out of explanation of Copy; point to traits
2016-08-02 16:15:39 -04:00
Carol (Nichols || Goulding)
0e5466135d
Split up/reword solutioning paragraph a bit
2016-08-02 16:00:13 -04:00
Carol (Nichols || Goulding)
9f1e9cfcc3
Rework the mention of shallow copy/deep copy
...
Felt a bit out of place here, a little too early.
2016-08-02 15:55:27 -04:00
Carol (Nichols || Goulding)
2eb5aafc50
Remove 9 exclamation marks, leave 2 that I like
2016-08-02 15:40:06 -04:00
Carol (Nichols || Goulding)
df6105e53b
Reword a case of similar wording
2016-08-02 11:33:56 -04:00
Carol (Nichols || Goulding)
7cca51f3c0
Merge remote-tracking branch 'origin/master' into first-third-try
2016-08-02 11:28:25 -04:00
Carol (Nichols || Goulding)
fd54ef0b85
Remove duplicated "is" from println output
...
Fixes #164 .
2016-08-02 11:15:09 -04:00
Carol (Nichols || Goulding)
da9d58ea0c
Put back code formatting inside links; works with mdbook 0.0.13
2016-08-02 11:12:15 -04:00
Carol (Nichols || Goulding)
013e591332
Clarify the version of mdbook we use
2016-08-02 11:07:06 -04:00
Carol (Nichols || Goulding)
82e8759bac
Resolve guessing game tutorial comments
...
Fixes #154 .
2016-08-01 22:34:10 -04:00
Carol (Nichols || Goulding)
da3283539c
Rework the intro to cargo
...
Instead of converting hello world to cargo and THEN creating a new cargo
project, just create a new cargo project and look at the differences.
This makes this section a bit less repetitive and doing the usual thing
first.
2016-08-01 21:50:53 -04:00
Carol (Nichols || Goulding)
6d05459019
Merge remote-tracking branch 'origin/master' into first-third-try
2016-07-30 17:43:55 -04:00
Guillaume Gomez
174d50ad9b
Few improvements
2016-07-30 17:43:25 -04:00
Carol (Nichols || Goulding)
deb9e466bc
Ignore partial code blocks, unindent them
2016-07-30 17:38:35 -04:00
Carol (Nichols || Goulding)
f2d21dcbd1
Merge remote-tracking branch 'origin/master' into first-third-try
2016-07-30 17:31:05 -04:00
Carol (Nichols || Goulding)
37101e5224
Swap the order of common programming concepts & ownership again
...
😂 😂 😂
2016-07-30 17:27:26 -04:00
Carol (Nichols || Goulding)
eb6d860033
Condense the if
explanation
...
It's a little bit *too* detailed, for people coming from other
languages.
2016-07-30 17:16:39 -04:00
Carol (Nichols || Goulding)
287b147268
Sorry steve, bobby frost is going
2016-07-30 17:03:40 -04:00
Carol (Nichols || Goulding)
8104951921
Talk about for
more than loop
and while
...
Since that's the most common loop in Rust and has some benefits, let's
encourage it.
2016-07-30 16:58:39 -04:00
Carol Nichols
b5448577e5
Merge pull request #162 from frewsxcv/patch-2
...
Don't use UFCS before it gets introduced.
2016-07-30 16:40:38 -04:00
Carol Nichols
830db27213
Merge pull request #163 from frewsxcv/patch-3
...
Indicate system variable is code-like.
2016-07-30 16:39:42 -04:00
Steve Klabnik
0b907e0241
Merge pull request #168 from rust-lang/doc-comments
...
Move doc comments into a future section about creating a library
2016-07-30 16:33:51 -04:00
Carol (Nichols || Goulding)
287d9b175b
Remove doc comments to go in a future section about library docs
2016-07-30 16:20:14 -04:00
Carol (Nichols || Goulding)
b5ebd97046
Move doc comments into a future section about creating a library
2016-07-30 16:13:51 -04:00
Carol (Nichols || Goulding)
ad88878ecf
Discuss multiple return values in ownership instead
...
It's actually cooler to show a bit of motivation for it, imo.
2016-07-30 16:08:26 -04:00
Carol (Nichols || Goulding)
75b8ea124e
Shorten type annotation explanation in data types
2016-07-30 15:47:36 -04:00
Carol (Nichols || Goulding)
7b37a5b4ac
Remove bindings as arguments from functions
...
Since we're assuming the reader has programmed in at least one language
before, this will likely make sense to them.
2016-07-30 14:59:08 -04:00
Carol (Nichols || Goulding)
eb11d2b916
Condense array discussion; mention Vec is preferred
2016-07-30 14:56:51 -04:00
Carol (Nichols || Goulding)
2863436054
Move Debug explanation from arrays to structs
2016-07-30 14:49:15 -04:00
Steve Klabnik
1e7e0e61c4
Merge pull request #167 from rust-lang/patterns-up
...
Move Patterns to be its own top-level chapter
2016-07-30 14:38:50 -04:00
Carol (Nichols || Goulding)
ed5a22ea24
Remove Patterns subsection; to become a top-level later chapter
...
See https://github.com/rust-lang/book/pull/167
2016-07-30 14:32:45 -04:00
Carol (Nichols || Goulding)
fb56f123f3
Move Patterns to be its own top-level chapter
2016-07-30 14:27:23 -04:00
Carol (Nichols || Goulding)
2e18fde173
Explain why mutability is important, when to use. Flow into shadowing
2016-07-30 14:04:31 -04:00
Corey Farwell
4867721c8c
Indicate system variable is code-like.
2016-07-29 23:11:30 -04:00
Corey Farwell
da86f50ab8
Don't use UFCS before it gets introduced.
...
It's not introduced until later in this page.
2016-07-29 22:53:54 -04:00
Carol (Nichols || Goulding)
86c9daef41
Change variable bindings section to mostly be about mutability
...
Leave a bit about shadowing and how it relates to mutability.
Change the error explanation box to be about the mutability error.
I have some placeholders in here that I will resolve tomorrow.
2016-07-29 21:39:27 -04:00
Corey Farwell
9213bbc9d0
Simplify slice examples by using byte literal.
2016-07-29 20:28:11 -04:00
Carol (Nichols || Goulding)
f915f9af4b
Chapter 1 can have the "Anatomy of a Rust Program" title back
2016-07-29 20:17:42 -04:00
Carol (Nichols || Goulding)
08154ad6bc
Remove anatomy of a rust program section that's duplicated elsewhere
...
Except the crab pincers. Move those to the first discussion of
println!() :)
2016-07-29 20:16:27 -04:00
Carol (Nichols || Goulding)
4b7a42814f
Move bit about keywords to the intro part of this chapter
2016-07-29 20:03:54 -04:00
Carol Nichols
ae14cc407c
Merge pull request #157 from jonathandturner/first-third-try
...
Split up example for better readability
2016-07-29 20:00:33 -04:00
Jonathan Turner
4e73350c08
Split up example for better readability
2016-07-29 10:43:26 -07:00
Carol Nichols
8ee39b9583
Merge pull request #156 from jonathandturner/first-third-try
...
Update errors in references chapter
2016-07-29 08:53:03 -04:00