]> git.lizzy.rs Git - rust.git/commit
rustdoc: Only hide possibly private modules
authorAlex Crichton <alex@alexcrichton.com>
Mon, 6 Apr 2015 23:43:55 +0000 (16:43 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 8 Apr 2015 00:54:34 +0000 (17:54 -0700)
commitfcc89ea5006441350f0275946ff6db84a1118e49
tree9dc9f854b7ff4aaf76000797d42e22fe144e1ca8
parentc47bb7cd50e932a99213e004010e0f262f253446
rustdoc: Only hide possibly private modules

If an empty public module has no documentation, it shouldn't emit a page that's
just a redirect loop to itself!

Closes #16265
src/librustdoc/html/render.rs
src/test/rustdoc/issue-16265-1.rs [new file with mode: 0644]
src/test/rustdoc/issue-16265-2.rs [new file with mode: 0644]