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
parent ca6bf966dd
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
// at the test helper function `test_with_str`, since it returns whatever
// `read_and_validate` returns and`test_with_str` has its signature fully