Commit 2a56a719 by Enkelmann Committed by Enkelmann

cargo fmt

parent a85352c5
......@@ -76,7 +76,7 @@ impl From<ByteSize> for apint::BitWidth {
impl From<apint::BitWidth> for ByteSize {
/// Convert to `ByteSize`, while always rounding up to the nearest full byte.
fn from(bitwidth: apint::BitWidth) -> ByteSize {
ByteSize::new( (bitwidth.to_usize() + 7) as u64 / 8 )
ByteSize::new((bitwidth.to_usize() + 7) as u64 / 8)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment