mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 14:02:22 -05:00
errors2.rs: update link to Rust book.
This commit is contained in:
parent
8f9d7ce3d8
commit
c1f4257a91
1 changed files with 1 additions and 1 deletions
|
@ -68,5 +68,5 @@ mod tests {
|
||||||
// `Err(something)`. This pattern is very common in Rust, though, so there's
|
// `Err(something)`. This pattern is very common in Rust, though, so there's
|
||||||
// a `?` operator that does pretty much what you would make that match statement
|
// a `?` operator that does pretty much what you would make that match statement
|
||||||
// do for you! Take a look at this section of the Error Handling chapter:
|
// do for you! Take a look at this section of the Error Handling chapter:
|
||||||
// https://doc.rust-lang.org/stable/book/second-edition/ch09-02-recoverable-errors-with-result.html#a-shortcut-for-propagating-errors-the--operator
|
// https://doc.rust-lang.org/book/ch09-02-recoverable-errors-with-result.html#a-shortcut-for-propagating-errors-the--operator
|
||||||
// and give it a try!
|
// and give it a try!
|
||||||
|
|
Loading…
Reference in a new issue