1
0
Fork 0
mirror of https://codeberg.org/icewind/bitbuffer.git synced 2026-06-03 08:34:07 +02:00
This commit is contained in:
Robin Appelman 2022-05-01 14:50:48 +02:00
commit df4a9b32ac

View file

@ -83,11 +83,7 @@ fn test_bare_enum() {
#[test]
fn test_field_enum() {
#[derive(Debug, PartialEq, BitRead, BitWrite)]
struct CompoundVariant(
#[size = 15]
u16,
bool,
);
struct CompoundVariant(#[size = 15] u16, bool);
#[derive(Debug, PartialEq, BitRead, BitWrite)]
#[discriminant_bits = 4]