rustdoc: Add some test enums to demo module
This commit is contained in:
parent
74e8b11194
commit
566a4be1f8
1 changed files with 3 additions and 0 deletions
|
@ -20,8 +20,11 @@ type waitress = {
|
||||||
hair_color: str
|
hair_color: str
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#[doc = "The type of things that produce omnomnom"]
|
||||||
enum omnomnomy {
|
enum omnomnomy {
|
||||||
|
#[doc = "Delicious sugar cookies"]
|
||||||
cookie,
|
cookie,
|
||||||
|
#[doc = "It's pizza"]
|
||||||
pizza_pie([uint])
|
pizza_pie([uint])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue