mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
rustdoc: Add some rustdocs
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user