rustdoc: Add some rustdocs

This commit is contained in:
Brian Anderson 2012-01-30 21:01:09 -08:00
parent bc450e60c3
commit 868d9c753c
1 changed files with 2 additions and 0 deletions

View File

@ -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 {