rustdoc: Add some rustdocs

This commit is contained in:
Brian Anderson
2012-01-30 21:01:09 -08:00
parent bc450e60c3
commit 868d9c753c
+2
View File
@@ -96,6 +96,7 @@ enum itemtag {
sig: option<str>
};
#[doc = "Some helper methods on moddoc, mostly for testing"]
impl util for moddoc {
fn mods() -> [moddoc] {
@@ -153,6 +154,7 @@ fn ifaces() -> [ifacedoc] {
}
}
#[doc = "Helper methods on itemtag"]
impl util for itemtag {
fn name() -> str {
alt self {