From f787e1a07bc643f5645ef4825f381502c489795b Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Mon, 7 Mar 2016 15:03:32 +0100 Subject: [PATCH] =?UTF-8?q?Use=20rustdoc=E2=80=99s=20new=20`--passes=20str?= =?UTF-8?q?ip-priv-imports`=20flag.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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`. --- etc/rustdoc-with-private | 2 +- rust-nightly-date | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rustdoc-with-private b/etc/rustdoc-with-private index e038696375a..097c237c562 100755 --- a/etc/rustdoc-with-private +++ b/etc/rustdoc-with-private @@ -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 "$@" diff --git a/rust-nightly-date b/rust-nightly-date index c8c161a030d..ae241281d0e 100644 --- a/rust-nightly-date +++ b/rust-nightly-date @@ -1 +1 @@ -2016-03-05 +2016-03-07