mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
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:
parent
743e0c9c87
commit
f787e1a07b
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