Skip to content

Implement try_each_variant#68

Open
Dav1dde wants to merge 1 commit into
mystor:mainfrom
Dav1dde:try_each_variant
Open

Implement try_each_variant#68
Dav1dde wants to merge 1 commit into
mystor:mainfrom
Dav1dde:try_each_variant

Conversation

@Dav1dde

@Dav1dde Dav1dde commented Dec 6, 2024

Copy link
Copy Markdown

This behaves exactly like each_variant but allows for a fallible return type. This is extremely useful when parsing attributes of variants, since parse_nested_meta is fallible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant