mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
9ba78ac08b
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