Re:Rust 1.56.0 and Rust 2021
by lilyball on Thursday October 28, 2021 @01:52PM
(#29028951)
I think that this code is acceptable as long as you're careful. And I wish Rust had a `#[derive(TryFrom)]` sort of thing for deriving conversions from the declared primitive type to the enum.
[ Parent
| on HN ]
There are no comments on this comment yet.