Carol (Nichols || Goulding)
da9422bc96
Add a sidebar on unwind vs abort
2016-10-11 17:31:30 -04:00
Carol (Nichols || Goulding)
c1c40d532c
Rework intro error handling section
2016-10-11 15:41:37 -04:00
Carol (Nichols || Goulding)
48c6890c08
Add a section on deciding how to handle errors
2016-09-14 22:33:06 -04:00
Carol (Nichols || Goulding)
2d40c73e99
More edits after more readings forever
2016-09-14 18:42:22 -04:00
Carol (Nichols || Goulding)
9154816eb5
splits -> groups
2016-09-14 13:58:40 -04:00
Carol (Nichols || Goulding)
cd7932f0dd
tools -> features
2016-09-14 13:58:40 -04:00
Carol (Nichols || Goulding)
7095fd14ab
TODO; added some ideas for continuing recoverable section
...
This ends pretty abruptly and has left some things out that I think
would be useful here.
2016-09-14 13:58:40 -04:00
Carol (Nichols || Goulding)
b88aad0d98
Make these code examples build off each other
...
Yes, this means we can't test these, but imo this makes more sense.
2016-09-14 13:58:40 -04:00
Carol (Nichols || Goulding)
79bac99c21
Use parens when referring to fns inline; clarify some things
2016-09-14 13:58:40 -04:00
Carol (Nichols || Goulding)
b2929bf71c
Use bash syntax highlighting for console output
2016-09-14 13:58:40 -04:00
Carol (Nichols || Goulding)
0f5a5e67b9
Leave some notes about ghosting code differences
2016-09-14 13:58:40 -04:00
Carol (Nichols || Goulding)
e8cba590c9
Explain the type parameters a little since this is the first time
2016-09-14 13:58:40 -04:00
Carol (Nichols || Goulding)
6f581c30c2
Small wording tweaks
2016-09-14 13:58:40 -04:00
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
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)
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)
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)
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
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
Jonathan Turner
58da122888
Some wording and error updates
2016-09-02 16:51:27 -07: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)
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