Skip to content

Commit a276769

Browse files
committed
formatting
1 parent 2f648bc commit a276769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ impl<H, T> HeaderVec<H, T> {
420420
const fn offset() -> usize {
421421
// The first location, in units of size_of::<T>(), that is after the header
422422
// It's the end of the header, rounded up to the nearest size_of::<T>()
423-
(mem::size_of::<AlignedHeader<H, T>>()-1) / mem::size_of::<T>() + 1
423+
(mem::size_of::<AlignedHeader<H, T>>() - 1) / mem::size_of::<T>() + 1
424424
}
425425

426426
/// Compute the number of elements (in units of T) to allocate for a given capacity.

0 commit comments

Comments
 (0)