mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-01 00:09:18 +00:00
chore: Fix snakecase convention in errors6.rs
Exercise errors6.rs prompts the user to add a method named `from_parseint`. This commit changes the method name to the corrected snakecase format, `from_parse_int`.
This commit is contained in:
parent
175294fa5d
commit
8a9f9a898d
@ -25,7 +25,7 @@ impl ParsePosNonzeroError {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Add another error conversion function here.
|
// TODO: Add another error conversion function here.
|
||||||
// fn from_parseint(???) -> Self { ??? }
|
// fn from_parse_int(???) -> Self { ??? }
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(PartialEq, Debug)]
|
#[derive(PartialEq, Debug)]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user