mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-10 19:43:32 +02:00
style: format errors5 with rustfmt
This commit is contained in:
@@ -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)),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user