Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow for
u8
to be used as hold/freeze reason (#5348)
..without needing to provide your own `newtype` around it. This will allow `type Reason = u8` to be used as `FreezeReason` and `HoldReason`, which I think is a nice simplification if one doens't want to deal with the complications. At the same time, it is a bit of an anti-pattern. Putting it out there to check people's vibes.
- Loading branch information