Skip to content

Commit

Permalink
fixup! fixup! fixup! Add read_exact attribute
Browse files Browse the repository at this point in the history
fix ensure_no_std
  • Loading branch information
wcampbell0x2a committed Sep 19, 2024
1 parent 48f797b commit c8812f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ensure_no_std/src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ struct DekuTest {
count: u8,
#[deku(count = "count", pad_bytes_after = "8")]
data: Vec<u8>,
#[deku(read_exact = "1")]
#[deku(count = "1")]
after: Vec<u8>,
}

Expand Down

0 comments on commit c8812f4

Please sign in to comment.