rust/tests/rustdoc/union.rs
2024-06-24 11:08:41 +02:00

9 lines
175 B
Rust

//@ has union/union.U.html
pub union U {
//@ has - //pre "pub a: u8"
pub a: u8,
//@ has - //pre "/* private fields */"
//@ !has - //pre "b: u16"
b: u16,
}