summaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authorEddy Petrisor <eddy.petrisor@gmail.com>2019-05-22 14:47:49 +0300
committerEddy Petrisor <eddy.petrisor@gmail.com>2019-05-22 14:50:39 +0300
commitd6d696b66a91d0124b1757c666d94ce018e0c514 (patch)
treee20d774d270ed72849e2432f32b592765f09b5e6 /exercises
parentca6bf966dd83fe17e5fe97fb7f42939e07cf7943 (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')
-rw-r--r--exercises/error_handling/errorsn.rs30
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