summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/struct-like-variant.rs
blob: 2f52a319ab9adf2b09bce918284d76f14380c694 (plain)
1
2
3
4
5
6
7
8
#![crate_name = "struct_like_variant"]

pub enum Enum {
    Bar {
        /// This is a name.
        name: String
    }
}