rustdoc: Add some rustdocs
This commit is contained in:
parent
bc450e60c3
commit
868d9c753c
1 changed files with 2 additions and 0 deletions
|
|
@ -96,6 +96,7 @@ type methoddoc = {
|
|||
sig: option<str>
|
||||
};
|
||||
|
||||
#[doc = "Some helper methods on moddoc, mostly for testing"]
|
||||
impl util for moddoc {
|
||||
|
||||
fn mods() -> [moddoc] {
|
||||
|
|
@ -153,6 +154,7 @@ impl util for moddoc {
|
|||
}
|
||||
}
|
||||
|
||||
#[doc = "Helper methods on itemtag"]
|
||||
impl util for itemtag {
|
||||
fn name() -> str {
|
||||
alt self {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue