Skip to content

Commit

Permalink
Digest: Remove repr(c) from Output union.
Browse files Browse the repository at this point in the history
  • Loading branch information
briansmith committed Nov 21, 2023
1 parent 90dd921 commit 21f385b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/digest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,6 @@ union State {
}

#[derive(Clone, Copy)]
#[repr(C)]
union Output {
as64: [BigEndian<u64>; 512 / 8 / core::mem::size_of::<BigEndian<u64>>()],
as32: [BigEndian<u32>; 256 / 8 / core::mem::size_of::<BigEndian<u32>>()],
Expand Down

0 comments on commit 21f385b

Please sign in to comment.