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:
parent
ca6bf966dd
commit
d6d696b66a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user