diff --git a/src/with_alloc.rs b/src/with_alloc.rs index 4b53b9c..abb2433 100644 --- a/src/with_alloc.rs +++ b/src/with_alloc.rs @@ -81,7 +81,13 @@ impl RingBuffer for AllocRingBuffer { } } - impl_ringbuffer!(get_unchecked, get_unchecked_mut, readptr, writeptr, crate::mask); + impl_ringbuffer!( + get_unchecked, + get_unchecked_mut, + readptr, + writeptr, + crate::mask + ); } impl AllocRingBuffer { diff --git a/src/with_const_generics.rs b/src/with_const_generics.rs index 2a6ec55..e5c4fb9 100644 --- a/src/with_const_generics.rs +++ b/src/with_const_generics.rs @@ -126,7 +126,13 @@ impl RingBuffer for ConstGenericRingBuffer Default for ConstGenericRingBuffer { diff --git a/src/with_generic_array.rs b/src/with_generic_array.rs index c88b909..2314536 100644 --- a/src/with_generic_array.rs +++ b/src/with_generic_array.rs @@ -179,7 +179,13 @@ impl>> RingBuffer for GenericRing } } - impl_ringbuffer!(get_unchecked, get_unchecked_mut, readptr, writeptr, crate::mask); + impl_ringbuffer!( + get_unchecked, + get_unchecked_mut, + readptr, + writeptr, + crate::mask + ); } #[cfg(test)]