mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 19:26:47 +00:00
Explain how to get the discriminant out of a `#[repr(T)] enum` with payload example stolen from https://github.com/rust-lang/reference/pull/1055 ````@rustbot```` label A-docs