rustdoc: Add some rustdocs
This commit is contained in:
parent
bc450e60c3
commit
868d9c753c
|
@ -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…
Reference in New Issue