Skip to content

Commit eb3efca

Browse files
committed
formatting
1 parent 98fae22 commit eb3efca

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
@@ -381,7 +381,7 @@ impl<H, T> HeaderVec<H, T> {
381381
const fn offset() -> usize {
382382
// The first location, in units of size_of::<T>(), that is after the header
383383
// It's the end of the header, rounded up to the nearest size_of::<T>()
384-
(mem::size_of::<AlignedHeader<H, T>>()-1) / mem::size_of::<T>() + 1
384+
(mem::size_of::<AlignedHeader<H, T>>() - 1) / mem::size_of::<T>() + 1
385385
}
386386

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

0 commit comments

Comments
 (0)