Skip to content

Commit

Permalink
servo: Merge #9894 - Use rustdoc’s new --passes strip-priv-imports
Browse files Browse the repository at this point in the history
…flag (from servo:strip-priv-imports); r=Ms2ger

rust-lang/rust#32055

This will make e.g. http://doc.servo.org/servo/index.html#reexports stop listing `extern crate` and `use` statements that don’t have `pub`.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1453f438256afe92b0f79980c984824aac4afeae

UltraBlame original commit: 8429d073276a3daeb5d4403ad44274bc39113092
  • Loading branch information
marco-c committed Oct 1, 2019
1 parent d03a4eb commit bfbd72f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion servo/etc/rustdoc-with-private
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
# Skip the strip-private and strip-hidden rustdoc passes
# https://github.com/rust-lang/rust/issues/15347
rustdoc --no-defaults --passes collapse-docs --passes unindent-comments "$@"
rustdoc --no-defaults --passes collapse-docs --passes unindent-comments --passes strip-priv-imports "$@"
2 changes: 1 addition & 1 deletion servo/rust-nightly-date
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2016-03-05
2016-03-07

0 comments on commit bfbd72f

Please sign in to comment.