Commit Graph

844 Commits

Author SHA1 Message Date
Carol (Nichols || Goulding)
f9b690e514 Calling panic should be rare; this makes a nice segue 2016-09-14 13:58:40 -04:00
Carol (Nichols || Goulding)
b86cf13fd7 Word wrap 2016-09-14 13:58:40 -04:00
Carol (Nichols || Goulding)
e33f886d6c Technically, panicing isn't the *only* thing we can do here...
Explain how this is different from C, which chooses to give you what you
want, and how Rust is safer
2016-09-14 13:58:40 -04:00
Carol (Nichols || Goulding)
3f9dd9dfa1 Explain the code we're going to try a bit more before showing it 2016-09-14 13:58:40 -04:00
Carol (Nichols || Goulding)
9057190e0d Wording tweaks 2016-09-14 13:58:40 -04:00
Carol (Nichols || Goulding)
6f3cf5c84c Rename files since we decided errors is chapter 9 2016-09-14 13:58:40 -04:00
Steve Klabnik
bd18fff64e don't put my dir in output names 2016-09-14 13:58:40 -04:00
Steve Klabnik
71d4ab96d4 disable non-nightly build 2016-09-14 13:58:40 -04:00
Steve Klabnik
0b7bb54df4 some more small things 2016-09-14 13:58:40 -04:00
Steve Klabnik
ad0fcf33a5 It's not always possible to handle this at compile time 2016-09-14 13:58:40 -04:00
Steve Klabnik
3634c81fc7 address some feedback 2016-09-14 13:58:40 -04:00
Steve Klabnik
730fb1f82f Move explanation up as per @aturon 2016-09-14 13:58:40 -04:00
Steve Klabnik
80c97251b8 remove second backtrace 2016-09-14 13:58:40 -04:00
Steve Klabnik
e35e0e1039 Remove 'creating your own error types'
this should end up later in the book, someday
2016-09-14 13:58:40 -04:00
Steve Klabnik
e7b5943c35 error handling take two 2016-09-14 13:58:40 -04:00
Steve Klabnik
4723782107 move towards vectors 2016-09-14 13:58:40 -04:00
Steve Klabnik
a28453e404 start of error handling 2016-09-14 13:58:40 -04:00
Carol (Nichols || Goulding)
40e9cf563a Merge pull request #255 from qolop/patch-1
Add Chrome/Linux bash command
2016-09-13 09:18:57 -04:00
Patrick McCann
8ef9d1f2e4 Add Chrome/Linux bash command 2016-09-12 20:12:58 -04:00
Carol (Nichols || Goulding)
34eca19f8d Merge pull request #252 from seanlinsley/patch-1
Update command to open the docs in Firefox
2016-09-11 18:01:31 -04:00
Sean Linsley
896c58ec71 Update command to open the docs in Firefox
The previous Firefox command only worked for Linux, while the previous Chrome command only worked for OS X.

I'm not sure what the Linux + Chome command would be.
2016-09-11 15:12:15 -05:00
Carol (Nichols || Goulding)
153752fa49 Ship edited ownership and new modules to nostarch 2016-09-09 11:32:40 -04:00
Carol (Nichols || Goulding)
c56e402882 Small wording changes; be more precise 2016-09-09 11:32:40 -04:00
Carol (Nichols || Goulding)
620df613cc Prefer 'we' not 'you' 2016-09-09 11:32:40 -04:00
Carol (Nichols || Goulding)
b75e813841 Whitespace/wordwrap fixes 2016-09-09 11:32:40 -04:00
Carol (Nichols || Goulding)
37d5d555f8 Label all code with a filename 2016-09-09 11:32:40 -04:00
Carol (Nichols || Goulding)
9e81b8c9b5 Title case section headings 2016-09-09 11:32:40 -04:00
Carol (Nichols || Goulding)
8cabb07e12 Merge pull request #247 from rust-lang/ch4-edits
Ch4 edits
2016-09-09 10:58:55 -04:00
Carol (Nichols || Goulding)
e4ddcabf6f Fix merging of figures 2016-09-08 18:12:10 -04:00
Carol (Nichols || Goulding)
d26cdc7508 Addressing steve nits 2016-09-08 18:08:47 -04:00
Carol (Nichols || Goulding)
701855e165 Make edits to ownership/borrowing/slices suggested by nostarch 2016-09-08 18:08:47 -04:00
Carol (Nichols || Goulding)
60d445df5c Discuss the stack and the heap so we can explain ownership with them 2016-09-08 18:07:17 -04:00
Carol (Nichols || Goulding)
3a132ba175 Merge pull request #250 from rust-lang/ch4-images
Ch4 images
2016-09-07 20:42:03 -04:00
Carol (Nichols || Goulding)
591e8a0aea Add images that only had placeholders 2016-09-06 21:08:54 -04:00
Carol (Nichols || Goulding)
8029bdb072 Switch to SVG instead of png 2016-09-06 18:16:57 -04:00
Carol (Nichols || Goulding)
ed557992cb Rename images to be in nostarch's convention
And switch images 3 and 4, they appear in the opposite order
2016-09-06 17:39:56 -04:00
Carol (Nichols || Goulding)
6d617aba2a Change to not have parens in function names in prose
Unless we're quoting a line of code that actually does call the
function. But when we're talking about the definition, don't include the
parens.
2016-09-06 17:29:10 -04:00
Carol (Nichols || Goulding)
468e5cc202 Update style-guide.md 2016-09-06 17:07:14 -04:00
Carol (Nichols || Goulding)
3ae744e99a Merge pull request #248 from itsmontoya/patch-1
Update ch02-00-guessing-game-tutorial.md
2016-09-06 13:53:26 -04:00
Josh
898024a907 Update ch02-00-guessing-game-tutorial.md
Code section was not properly ended. Fixed that section so it ends the code block.
2016-09-06 10:35:33 -07:00
Carol (Nichols || Goulding)
51368ff6df Merge pull request #246 from jonathandturner/master
Some wording and error updates
2016-09-04 12:40:27 -04:00
Jonathan Turner
58da122888 Some wording and error updates 2016-09-02 16:51:27 -07:00
Carol (Nichols || Goulding)
b9e881b147 Merge pull request #243 from bruceadams/patch-1
Enhance Windows examples
2016-08-31 19:59:00 -04:00
Bruce Adams
cc675f264a Enhance Windows examples
Most importantly, `#` does not introduce a comment in Windows CMD.
Also, switch the Windows code blocks to `cmd` instead of `bash`
and change the prompt to a more Windows typical `>`.
2016-08-31 19:54:50 -04:00
Carol (Nichols || Goulding)
ca20a04ceb Fixed formatting to be all Literal inline 2016-08-31 19:44:08 -04:00
Carol (Nichols || Goulding)
33943ea70c Don't leave the reader hanging wondering about use statements
And what they're relative to, if not the current module.

Fixes #239.
2016-08-30 12:49:43 -04:00
Carol (Nichols || Goulding)
cf3f9e13f1 Rename the project from "modules" to "communicator"
To make "modules" have fewer meanings.

Fixes #241.
2016-08-30 12:47:03 -04:00
Carol (Nichols || Goulding)
a09f376ca4 Clarify what the two problems modules solve are
Fixes #240.
2016-08-30 12:34:02 -04:00
Carol (Nichols || Goulding)
29c74cc4df Stay with "you" for the module intro
Fixes #238.
2016-08-30 12:30:10 -04:00
Carol (Nichols || Goulding)
bffe7c1ec7 Merge pull request #233 from spastorino/fix_guess_typo
Fix guses -> guess typo
2016-08-30 12:21:30 -04:00