From d6d696b66a91d0124b1757c666d94ce018e0c514 Mon Sep 17 00:00:00 2001 From: Eddy Petrisor Date: Wed, 22 May 2019 14:47:49 +0300 Subject: [PATCH] errorsn.rs: Separate hints from code, so hints are not accidentally seen Signed-off-by: Eddy Petrisor --- exercises/error_handling/errorsn.rs | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) 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