The section "[repr(transparent)](https://github.com/rust-lang/nomicon/blob/8d1e4dccf71114ff56f328f671f2026d8e6b62a2/src/other-reprs.md#reprtransparent)" currently doesn't mention that `#[repr(transparent)]` also works with single variant enums, see: * [RFC 2645](https://rust-lang.github.io/rfcs/2645-transparent-unions.html) * [PR 68122 in Rust](https://github.com/rust-lang/rust/pull/68122) (stabilization of transparent `enum`s in 1.42.0)