1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-07-15 01:24:27 +02:00

Merge pull request #961 from J-S-Kim/main

fix(errors6.rs): remove one answer code
This commit is contained in:
diannasoreil
2022-04-14 10:44:22 +02:00
committed by GitHub

View File

@ -20,9 +20,6 @@ enum ParsePosNonzeroError {
}
impl ParsePosNonzeroError {
fn from_creation(err: CreationError) -> ParsePosNonzeroError {
ParsePosNonzeroError::Creation(err)
}
// TODO: add another error conversion function here.
}