Skip to content

Commit 5181782

Browse files
authored
Merge pull request #961 from J-S-Kim/main
fix(errors6.rs): remove one answer code
2 parents 76a36dd + 43d0623 commit 5181782

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)