update old book references to the second edition of the book

This commit is contained in:
Lisa Kosiachenko
2018-07-20 11:39:49 -07:00
parent 2fa0fa17f9
commit e48a1a063d
8 changed files with 22 additions and 18 deletions

View File

@@ -124,7 +124,7 @@ impl error::Error for CreationError {
// can be returned from the same function because all errors act the same
// since they all implement the `error::Error` trait.
// Check out this section of the book:
// https://doc.rust-lang.org/stable/book/second-edition/ch09-02-recoverable-errors-with-result.html#a-shortcut-for-propagating-errors-
// https://doc.rust-lang.org/stable/book/second-edition/ch09-02-recoverable-errors-with-result.html#a-shortcut-for-propagating-errors-the--operator
// Another another hint: Note that because the `?` operator returns
// the *unwrapped* value in the `Ok` case, if we want to return a `Result` from