Carol (Nichols || Goulding)
18a1411a5d
Oops, messed up that rename somehow...
2016-08-02 20:34:55 -04:00
Carol (Nichols || Goulding)
5fb0b53648
Move generics to its own chapter outside of the first third
2016-08-02 20:32:48 -04:00
Carol (Nichols || Goulding)
b9254d86b0
Remove a confusing section on calling methods like functions
2016-08-02 18:04:00 -04:00
Carol (Nichols || Goulding)
e6443565eb
Use a string literal instead of String::from
; that's not a method
...
We've talked about Strings vs string literals at this point. Hopefully
this should be less distracting.
2016-08-02 17:56:34 -04:00
Carol (Nichols || Goulding)
bfc469d83a
Clarify what's coming from which example
2016-08-02 17:55:18 -04:00
Carol (Nichols || Goulding)
723852ebb8
Remove a bunch of repeated hidden code
...
This is all exactly the same as the first code block, so it is still
being tested. It looks weird with the indenting when the code is hidden,
and it's harder for me to read when editing the src (but I will leave
hidden code in if it lets us test unique code examples)
2016-08-02 17:55:18 -04:00
Carol (Nichols || Goulding)
3a6d941259
Wording, typos, formatting edits to method syntax
2016-08-02 17:55:18 -04:00
Carol (Nichols || Goulding)
54dc57cef3
Remove pseudo-EBNF, just refer to example in prose
2016-08-02 17:22:22 -04:00
Carol (Nichols || Goulding)
b5d45f13c6
Switch struct to singular to avoid weird struct
s formatting
2016-08-02 17:11:24 -04:00
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