Skip to content

Commit

Permalink
remove unneeded 8-byte alignment on constant::Reader
Browse files Browse the repository at this point in the history
  • Loading branch information
dwrensha committed May 13, 2024
1 parent c48c9d4 commit 12cf717
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion capnp/src/constant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ use crate::traits::Owned;
use crate::Result;

#[derive(Copy, Clone)]
#[repr(C, align(8))]
pub struct Reader<T> {
#[doc(hidden)]
pub phantom: PhantomData<T>,
Expand Down

0 comments on commit 12cf717

Please sign in to comment.