mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 04:56:25 +03:00
rustdoc: List macros in the sidebar
This commit is contained in:
committed by
Alex Crichton
parent
8c55fcd1f2
commit
48beab1205
@@ -1775,6 +1775,7 @@ fn block(w: &mut Writer, short: &str, longty: &str,
|
||||
try!(block(fmt.buf, "enum", "Enums", it, cx));
|
||||
try!(block(fmt.buf, "trait", "Traits", it, cx));
|
||||
try!(block(fmt.buf, "fn", "Functions", it, cx));
|
||||
try!(block(fmt.buf, "macro", "Macros", it, cx));
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user