Skip to content

Commit 48beab1

Browse files
sanxiynalexcrichton
authored andcommitted
rustdoc: List macros in the sidebar
1 parent 8c55fcd commit 48beab1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustdoc/html/render.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1775,6 +1775,7 @@ impl<'a> fmt::Show for Sidebar<'a> {
17751775
try!(block(fmt.buf, "enum", "Enums", it, cx));
17761776
try!(block(fmt.buf, "trait", "Traits", it, cx));
17771777
try!(block(fmt.buf, "fn", "Functions", it, cx));
1778+
try!(block(fmt.buf, "macro", "Macros", it, cx));
17781779
Ok(())
17791780
}
17801781
}

0 commit comments

Comments
 (0)