Skip to content

Commit

Permalink
Merge pull request rust-lang#961 from J-S-Kim/main
Browse files Browse the repository at this point in the history
fix(errors6.rs): remove one answer code
  • Loading branch information
shadows-withal authored Apr 14, 2022
2 parents 76a36dd + 43d0623 commit 5181782
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 5181782

Please sign in to comment.