diff options
| author | marisa <mokou@posteo.de> | 2019-11-11 17:21:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-11 17:21:06 +0100 |
| commit | ec2d4bd3ee665f2a4c79dd42c41078223074d4c1 (patch) | |
| tree | 6106b922559491112240f6465f965cf811caf5b8 /exercises/error_handling/errors2.rs | |
| parent | ce9fa6ebbfdc3e7585d488d9409797285708316f (diff) | |
| parent | 9a9007abae86c3b1b1c09778a6544ced54ea4453 (diff) | |
Merge branch 'master' into refactor-hints
Diffstat (limited to 'exercises/error_handling/errors2.rs')
| -rw-r--r-- | exercises/error_handling/errors2.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/exercises/error_handling/errors2.rs b/exercises/error_handling/errors2.rs index 5ac6339..aad3a93 100644 --- a/exercises/error_handling/errors2.rs +++ b/exercises/error_handling/errors2.rs @@ -16,6 +16,8 @@ // There are at least two ways to implement this that are both correct-- but // one is a lot shorter! Execute `rustlings hint errors2` for hints to both ways. +// I AM NOT DONE + use std::num::ParseIntError; pub fn total_cost(item_quantity: &str) -> Result<i32, ParseIntError> { |
