style: format errors5 with rustfmt

This commit is contained in:
mfurak 2022-11-06 20:28:34 +01:00
parent 8b0507cac8
commit d01ce8304e

View file

@ -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)),
}
}
}