mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +03:00
b37c214ec2
Using an enum here was historically not worth the extra hassle, but now we can lean on `#[derive(TryFromU32)]` to hide most of the boilerplate.