1
0
Fork 0
mirror of https://github.com/notohh/rustlings.git synced 2025-08-02 10:10:06 -04:00

errorsn.rs: Separate hints from code, so hints are not accidentally seen

Signed-off-by: Eddy Petrisor <eddy.petrisor@gmail.com>
This commit is contained in:
Eddy Petrisor 2019-05-22 14:47:49 +03:00
commit d6d696b66a

View file

@ -108,6 +108,36 @@ impl error::Error for CreationError {
} }
} }
// First hint: To figure out what type should go where the ??? is, take a look // 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 // at the test helper function `test_with_str`, since it returns whatever
// `read_and_validate` returns and`test_with_str` has its signature fully // `read_and_validate` returns and`test_with_str` has its signature fully