mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-12 05:39:19 +00:00
test
This commit is contained in:
parent
1c1f29a4f6
commit
557105f553
@ -23,7 +23,7 @@ impl ParsePosNonzeroError {
|
|||||||
fn from_creation(err: CreationError) -> ParsePosNonzeroError {
|
fn from_creation(err: CreationError) -> ParsePosNonzeroError {
|
||||||
ParsePosNonzeroError::Creation(err)
|
ParsePosNonzeroError::Creation(err)
|
||||||
}
|
}
|
||||||
// TODO: add another error conversion function here.
|
// TODO: add another error conversion function here.
|
||||||
}
|
}
|
||||||
|
|
||||||
fn parse_pos_nonzero(s: &str) -> Result<PositiveNonzeroInteger, ParsePosNonzeroError> {
|
fn parse_pos_nonzero(s: &str) -> Result<PositiveNonzeroInteger, ParsePosNonzeroError> {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user