diff options
| author | Eddy Petrisor <eddy.petrisor@gmail.com> | 2019-05-22 14:47:49 +0300 |
|---|---|---|
| committer | Eddy Petrisor <eddy.petrisor@gmail.com> | 2019-05-22 14:50:39 +0300 |
| commit | d6d696b66a91d0124b1757c666d94ce018e0c514 (patch) | |
| tree | e20d774d270ed72849e2432f32b592765f09b5e6 /exercises/error_handling | |
| parent | ca6bf966dd83fe17e5fe97fb7f42939e07cf7943 (diff) | |
errorsn.rs: Separate hints from code, so hints are not accidentally seen
Signed-off-by: Eddy Petrisor <eddy.petrisor@gmail.com>
Diffstat (limited to 'exercises/error_handling')
| -rw-r--r-- | exercises/error_handling/errorsn.rs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/exercises/error_handling/errorsn.rs b/exercises/error_handling/errorsn.rs index 15c6cd5..cd76d5b 100644 --- a/exercises/error_handling/errorsn.rs +++ b/exercises/error_handling/errorsn.rs @@ -108,6 +108,36 @@ impl error::Error for CreationError { } } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + // First hint: To figure out what type should go where the ??? is, take a look // at the test helper function `test_with_str`, since it returns whatever // `read_and_validate` returns and`test_with_str` has its signature fully |
