Use rustdoc --document-private-item instead of deprecated flags

… and use $RUSTDOCFLAGS instead of $RUSTDOC with a wrapper script
This commit is contained in:
Simon Sapin 2017-11-22 15:32:40 +01:00
parent 3a08f87ec8
commit d96f0ff6a7
2 changed files with 1 additions and 5 deletions

View file

@ -1,4 +0,0 @@
#!/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 --passes strip-priv-imports "$@"