rust/tests/rustdoc/union.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
175 B
Rust
Raw Normal View History

//@ has union/union.U.html
2016-08-11 02:00:17 +08:00
pub union U {
//@ has - //pre "pub a: u8"
2016-08-11 02:00:17 +08:00
pub a: u8,
//@ has - //pre "/* private fields */"
//@ !has - //pre "b: u16"
2016-08-11 02:00:17 +08:00
b: u16,
}