10 lines
214 B
Rust
10 lines
214 B
Rust
|
// @has strip_enum_variant/enum.MyThing.html
|
||
|
// @has - '//code' 'Shown'
|
||
|
// @!has - '//code' 'NotShown'
|
||
|
// @has - '//code' '// some variants omitted'
|
||
|
pub enum MyThing {
|
||
|
Shown,
|
||
|
#[doc(hidden)]
|
||
|
NotShown,
|
||
|
}
|