mirror of
https://codeberg.org/icewind/bitbuffer.git
synced 2026-06-03 08:34:07 +02:00
fmt:
This commit is contained in:
parent
5e9f0e7a59
commit
df4a9b32ac
1 changed files with 1 additions and 5 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue