mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 23:04:17 -05:00
style: format errors5 with rustfmt
This commit is contained in:
parent
8b0507cac8
commit
d01ce8304e
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ impl PositiveNonzeroInteger {
|
|||
match value {
|
||||
x if x < 0 => Err(CreationError::Negative),
|
||||
x if x == 0 => Err(CreationError::Zero),
|
||||
x => Ok(PositiveNonzeroInteger(x as u64))
|
||||
x => Ok(PositiveNonzeroInteger(x as u64)),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue