mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-01-28 00:00:03 +03:00
Fix bug
This commit is contained in:
parent
d8babf9a53
commit
2e29a61afa
|
@ -55,7 +55,7 @@ impl PositiveNonzeroInteger {
|
|||
// Don't change this line
|
||||
let x: i64 = s.parse()?;
|
||||
// Don't change this line
|
||||
Self::new(x)?
|
||||
Ok(Self::new(x)?)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ impl PositiveNonzeroInteger {
|
|||
// Don't change this line
|
||||
let x: i64 = s.parse()?;
|
||||
// Don't change this line
|
||||
Self::new(x)?
|
||||
Ok(Self::new(x)?)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue