about summary refs log tree commit diff
diff options
context:
space:
mode:
-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