Skip to content

Commit

Permalink
rustdoc: Filter out private definitions. Closes rust-lang#3538
Browse files Browse the repository at this point in the history
  • Loading branch information
z0w0 committed Mar 14, 2013
1 parent 58f248d commit 387aa36
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/librustdoc/rustdoc.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 387aa36

Please sign in to comment.