mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-26 07:14:17 -05:00
fix(errors6.rs): remove one answer code
Although marked as 'TODO', three tests pass without any implementation because the correct answer code already exists.
This commit is contained in:
parent
e6c0d00637
commit
43d0623086
1 changed files with 0 additions and 3 deletions
|
@ -20,9 +20,6 @@ enum ParsePosNonzeroError {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ParsePosNonzeroError {
|
impl ParsePosNonzeroError {
|
||||||
fn from_creation(err: CreationError) -> ParsePosNonzeroError {
|
|
||||||
ParsePosNonzeroError::Creation(err)
|
|
||||||
}
|
|
||||||
// TODO: add another error conversion function here.
|
// TODO: add another error conversion function here.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue