Skip to content

Commit 7e6be2c

Browse files
committed
Add SAFETY comment
1 parent e627b5a commit 7e6be2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cache/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ pub struct Primes<const N: usize>(
6767
);
6868

6969
#[cfg(feature = "rkyv")]
70+
// SAFETY: `Primes<N>` has no invariants that are relied upon by unsafe code.
7071
unsafe impl<const N: usize, C> Verify<C> for Primes<N>
7172
where
7273
C: Fallible + ?Sized,

0 commit comments

Comments
 (0)