Skip to content

Commit d534d1b

Browse files
committed
---
yaml --- r: 24089 b: refs/heads/master c: f3c31a0 h: refs/heads/master i: 24087: f0cb8b1 v: v3
1 parent bf977d1 commit d534d1b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 298ab6f45957591d13104e8c667e83928d2276a4
2+
refs/heads/master: f3c31a07d742478babfc7cda9d21ea6173ac2f6d
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/rustdoc/prune_private_pass.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
//! Prune things that are private
22
3+
#[legacy_exports];
4+
35
export mk_pass;
46

57
fn mk_pass() -> Pass {
@@ -55,7 +57,7 @@ fn should_prune_items_without_pub_modifier() {
5557

5658
#[cfg(test)]
5759
mod test {
58-
fn mk_doc(source: ~str) -> doc::Doc {
60+
pub fn mk_doc(source: ~str) -> doc::Doc {
5961
do astsrv::from_str(source) |srv| {
6062
let doc = extract::from_srv(srv, ~"");
6163
run(srv, doc)

0 commit comments

Comments
 (0)