diff options
| author | diannasoreil <mokou@fastmail.com> | 2022-04-14 10:44:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-14 10:44:22 +0200 |
| commit | 51817820f2825f053f68b6fad955797b42917582 (patch) | |
| tree | 5b4f96c6ec96eabf264a760ec9e9ca3a20a570e8 | |
| parent | 76a36dd38594c63b4bd64e655efeb272ccfaf2a4 (diff) | |
| parent | 43d0623086edbc46fe896ba59c7afa22c3da9f7a (diff) | |
Merge pull request #961 from J-S-Kim/main
fix(errors6.rs): remove one answer code
| -rw-r--r-- | exercises/error_handling/errors6.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/exercises/error_handling/errors6.rs b/exercises/error_handling/errors6.rs index 0f6b27a..847a049 100644 --- a/exercises/error_handling/errors6.rs +++ b/exercises/error_handling/errors6.rs @@ -20,9 +20,6 @@ enum ParsePosNonzeroError { } impl ParsePosNonzeroError { - fn from_creation(err: CreationError) -> ParsePosNonzeroError { - ParsePosNonzeroError::Creation(err) - } // TODO: add another error conversion function here. } |
