Skip to content

Commit

Permalink
docs: link magic to pre_assert for the enum variant selection
Browse files Browse the repository at this point in the history
  • Loading branch information
marxin committed Jun 7, 2024
1 parent c312ad3 commit 5248cf5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions binrw/doc/attribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -1708,6 +1708,9 @@ object.write_le(&mut output)
```
</div>

Note the alternative approach for the enum variant selection is [`pre_assert`](#pre-assert) directive
(where the [`argument`](#arguments)-based variant selection is supported).

<div class="br">

## Errors
Expand Down

0 comments on commit 5248cf5

Please sign in to comment.