mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #9894 - servo:strip-priv-imports, r=Ms2ger
Use rustdoc’s new `--passes strip-priv-imports` flag. https://github.com/rust-lang/rust/pull/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`. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9894) <!-- Reviewable:end -->
This commit is contained in:
commit
1453f43825
2 changed files with 2 additions and 2 deletions
|
@ -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 "$@"
|
||||
|
|
|
@ -1 +1 @@
|
|||
2016-03-05
|
||||
2016-03-07
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue