Skip to content

Commit

Permalink
fix(errors6.rs): remove one answer code
Browse files Browse the repository at this point in the history
Although marked as 'TODO', three tests pass without any implementation because the correct answer code already exists.
  • Loading branch information
J-S-Kim authored Apr 8, 2022
1 parent e6c0d00 commit 43d0623
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions exercises/error_handling/errors6.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ enum ParsePosNonzeroError {
}

impl ParsePosNonzeroError {
fn from_creation(err: CreationError) -> ParsePosNonzeroError {
ParsePosNonzeroError::Creation(err)
}
// TODO: add another error conversion function here.
}

Expand Down

0 comments on commit 43d0623

Please sign in to comment.