Skip to content
Unverified Commit 206ef913 authored by Russell Cohen's avatar Russell Cohen Committed by GitHub
Browse files

breaking change: improve `as_`/`is_` helpers (#527)

* breaking change: improve `as_`/`is_` helpers

- `as_` helpers for unions now return `Result` to clearly indicate what the actual value was
- Union variants now implement `TryFrom` for the parent union
- Error types now generate `is_` helpers

* bump version to v0.0.9-alpha

* Remove unsound TryFrom

* fix unit test and cargo fmt failure

* Delete unused import
parent cc13edf9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment