From 387aa3668a4ff865c5554a9f3dac2d339f8ef7aa Mon Sep 17 00:00:00 2001 From: Zack Corr Date: Thu, 14 Mar 2013 17:21:48 +1000 Subject: [PATCH] rustdoc: Filter out private definitions. Closes #3538 --- src/librustdoc/rustdoc.rc | 3 +-- 1 file changed, 1 insertion(+), 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