Skip to content

Commit 43d0623

Browse files
authored
fix(errors6.rs): remove one answer code
Although marked as 'TODO', three tests pass without any implementation because the correct answer code already exists.
1 parent e6c0d00 commit 43d0623

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

exercises/error_handling/errors6.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ enum ParsePosNonzeroError {
2020
}
2121

2222
impl ParsePosNonzeroError {
23-
fn from_creation(err: CreationError) -> ParsePosNonzeroError {
24-
ParsePosNonzeroError::Creation(err)
25-
}
2623
// TODO: add another error conversion function here.
2724
}
2825

0 commit comments

Comments
 (0)