-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mention any_of as alternative to enum (#2119)
* Mention any_of as alternative to enum Since enum variants can't be (de)serialized, they aren't good candidates for values that can go in a configuration. This commit makes the documentation on this point clearer, and points to the alternative untagged union `std.contract.any_of`. * Fix syntax error in manual snippet
- Loading branch information
Showing
1 changed file
with
34 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters