mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-26 07:14:17 -05: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:
parent
ca6bf966dd
commit
d6d696b66a
1 changed files with 30 additions and 0 deletions
|
@ -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 a new issue