diff --git a/src/shard.rs b/src/shard.rs index 2ea3ba8..8c377cd 100644 --- a/src/shard.rs +++ b/src/shard.rs @@ -274,7 +274,7 @@ where // Use ptr::write_bytes to fill the Vec very fast. // Safety: This is safe because ptr::null() is defined as having an address of 0 in Rust, and being equivalent - // to `MaybeUninit::<*const T>::zeroed().assume_init()`, and the `AtomicPtr` that underlies our ptr type is + // to `MaybeUninit::<*const T>::zeroed().assume_init()`, and the `AtomicPtr` that underlies our ptr type is // just an `UnsafeCell`, which is `#[repr(transparent)]`. unsafe { ptr::write_bytes::>(shards.as_mut_ptr(), 0, C::MAX_SHARDS);