Commit Graph
626 Commits
Author SHA1 Message Date
Carol (Nichols || Goulding) fdc98f4bcb Remove redundant 'file' 2016-10-18 18:30:17 -04:00
Carol (Nichols || Goulding) 3a8c5ef9c5 Title case titles 2016-10-18 18:24:34 -04:00
Carol (Nichols || Goulding) 2162339427 Talk a bit about the contract of Guess 2016-10-17 16:41:14 -04:00
Carol (Nichols || Goulding) 0fc14dfe5b Add a summary 2016-10-17 16:30:28 -04:00
Carol (Nichols || Goulding) 211aec84b9 Add listing numbers for long or referred-to code 2016-10-17 15:51:43 -04:00
Carol (Nichols || Goulding) 6e7eb0e87c Discuss that it's ok to unwrap if you know it can't fail 2016-10-17 15:51:43 -04:00
Carol (Nichols || Goulding) c00340ce75 Small tweaks to wording on another readthrough 2016-10-17 15:51:43 -04:00
Carol (Nichols || Goulding) b7a9b8a3d0 Flesh out constructor contract example 2016-10-13 15:02:29 -04:00
Carol (Nichols || Goulding) 9cb2218b46 Remove a "this" that's not clear 2016-10-12 13:55:30 -04:00
Carol (Nichols || Goulding) 261056e39f Start of a section on good unwrap usage` 2016-10-12 13:55:14 -04:00
Carol (Nichols || Goulding) 68bf232eb7 Remove not-quite-accurate parts of this section 2016-10-12 13:54:38 -04:00
Carol (Nichols || Goulding) 8f17a2a4c8 Don't talk about main in the default recommendation 2016-10-12 13:53:53 -04:00
Carol (Nichols || Goulding) 34b346c615 Fix section headers 2016-10-12 11:44:54 -04:00
Carol (Nichols || Goulding) a3dfedb921 Add a discussion of matching on error kind 2016-10-12 11:08:45 -04:00
Carol (Nichols || Goulding) 1eaa218746 Finish rearranging the Result section 2016-10-12 10:38:32 -04:00
Carol (Nichols || Goulding) 48bed57e67 Use try! for the illustration of calling it in main
Until rust-lang/rust#35946 is fixed, so that the error message is
clearer than not implementing the Carrier trait.
2016-10-12 10:37:22 -04:00
Carol (Nichols || Goulding) e98eab8cb5 Reworking Result examples til I hit the horrible Carrier error 2016-10-11 20:59:46 -04:00
Carol (Nichols || Goulding) 6d2a2c4dd7 Remove distraction about literal 100 2016-10-11 17:31:41 -04:00
Carol (Nichols || Goulding) da9422bc96 Add a sidebar on unwind vs abort 2016-10-11 17:31:30 -04:00
Carol (Nichols || Goulding) e10d974b23 Update reason why we can't test beta rn 2016-10-11 15:42:53 -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 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