There was an error while loading. Please reload this page.
1 parent e6c0d00 commit 43d0623Copy full SHA for 43d0623
1 file changed
exercises/error_handling/errors6.rs
@@ -20,9 +20,6 @@ enum ParsePosNonzeroError {
20
}
21
22
impl ParsePosNonzeroError {
23
- fn from_creation(err: CreationError) -> ParsePosNonzeroError {
24
- ParsePosNonzeroError::Creation(err)
25
- }
26
// TODO: add another error conversion function here.
27
28
0 commit comments