about summary refs log tree commit diff
diff options
context:
space:
mode:
authorZack Corr <zack@z0w0.me>2013-03-14 17:21:48 +1000
committerZack Corr <zack@z0w0.me>2013-03-14 17:21:48 +1000
commit387aa3668a4ff865c5554a9f3dac2d339f8ef7aa (patch)
tree998d18802488e9ad7d5135ebf2d691ae4e631a8e
parent58f248d9234f2a6b10b1537e4075d303ed60b605 (diff)
downloadrust-387aa3668a4ff865c5554a9f3dac2d339f8ef7aa.tar.gz
rust-387aa3668a4ff865c5554a9f3dac2d339f8ef7aa.zip
rustdoc: Filter out private definitions. Closes #3538
-rw-r--r--src/librustdoc/rustdoc.rc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustdoc/rustdoc.rc b/src/librustdoc/rustdoc.rc
index f5cf98759b3..5cae8e31657 100644
--- a/src/librustdoc/rustdoc.rc
+++ b/src/librustdoc/rustdoc.rc
@@ -116,8 +116,7 @@ fn run(config: Config) {
             // Remove things marked doc(hidden)
             prune_hidden_pass::mk_pass(),
             // Remove things that are private
-            // XXX enable this after 'export' is removed in favor of 'pub'
-            // prune_private_pass::mk_pass(),
+            prune_private_pass::mk_pass(),
             // Extract brief documentation from the full descriptions
             desc_to_brief_pass::mk_pass(),
             // Massage the text to remove extra indentation