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
Carol (Nichols || Goulding)
17429f2322
Ruby -> Python
2016-07-29 08:51:52 -04:00
Carol (Nichols || Goulding)
2cb1773fab
Safety, speed, concurrency. Don't repeat speed so soon
2016-07-29 08:51:26 -04:00
Carol (Nichols || Goulding)
8e2ae1cfa6
Remove motivation for hello world and "expression based"
...
Fixes #152 .
2016-07-28 21:28:17 -04:00
Carol (Nichols || Goulding)
0e7e64a495
Small wording, punctuation, etc edits to hello world
2016-07-28 21:27:53 -04:00
Carol (Nichols || Goulding)
f96b0b0ed1
Change output highlighting from text to bash
2016-07-28 21:27:12 -04:00
Carol (Nichols || Goulding)
bb0ac803e7
Inspired by hello world, clarify $
further
...
Too much?
2016-07-28 21:26:35 -04:00
Carol (Nichols || Goulding)
71a91c4db4
Show an example of rustc --version output, with placeholders
...
Fixes #151 .
2016-07-28 20:53:21 -04:00
Carol (Nichols || Goulding)
8af84e7514
Replace rustup.sh with rustup.rs
2016-07-28 20:53:16 -04:00
Carol (Nichols || Goulding)
dd8d776614
Small wording, punctuation, and wrapping edits to installation
2016-07-28 20:52:31 -04:00
Carol (Nichols || Goulding)
ec255d22f3
Address comments about the installation section
...
Fixes #150 .
2016-07-28 20:52:09 -04:00
Carol (Nichols || Goulding)
36d022f729
Rewrite the intro to be friendlier and more welcoming
...
Fixes #149 .
2016-07-28 20:11:51 -04:00