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`.
This commit is contained in:
Simon Sapin 2016-03-07 15:03:32 +01:00
parent 743e0c9c87
commit f787e1a07b
2 changed files with 2 additions and 2 deletions

View file

@ -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 "$@"

View file

@ -1 +1 @@
2016-03-05
2016-03-07