Skip to content

Commit 44ba016

Browse files
committed
---
yaml --- r: 48722 b: refs/heads/snap-stage3 c: 387aa36 h: refs/heads/master v: v3
1 parent 8ff291b commit 44ba016

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 3bbcac322669cff3abde5be937cc4ec3860f3985
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 4f238503d8730486fd9c72c71f1043a2f925299d
4+
refs/heads/snap-stage3: 387aa3668a4ff865c5554a9f3dac2d339f8ef7aa
55
refs/heads/try: 2a8fb58d79e685d5ca07b039badcf2ae3ef077ea
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/librustdoc/rustdoc.rc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,7 @@ fn run(config: Config) {
116116
// Remove things marked doc(hidden)
117117
prune_hidden_pass::mk_pass(),
118118
// Remove things that are private
119-
// XXX enable this after 'export' is removed in favor of 'pub'
120-
// prune_private_pass::mk_pass(),
119+
prune_private_pass::mk_pass(),
121120
// Extract brief documentation from the full descriptions
122121
desc_to_brief_pass::mk_pass(),
123122
// Massage the text to remove extra indentation

branches/snap-stage3/src/librustdoc/tystr_pass.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ fn get_fn_sig(srv: astsrv::Srv, fn_id: doc::AstId) -> Option<~str> {
7575
ident: ident,
7676
node: ast::foreign_item_fn(ref decl, _, ref tys), _
7777
}, _, _) => {
78-
Some(pprust::fun_to_str(decl, ident, None, tys,
78+
Some(pprust::fun_to_str(decl, ident, tys,
7979
extract::interner()))
8080
}
8181
_ => fail!(~"get_fn_sig: fn_id not bound to a fn item")
@@ -215,7 +215,6 @@ fn get_method_sig(
215215
Some(pprust::fun_to_str(
216216
&ty_m.decl,
217217
ty_m.ident,
218-
Some(ty_m.self_ty.node),
219218
&ty_m.generics,
220219
extract::interner()
221220
))
@@ -224,7 +223,6 @@ fn get_method_sig(
224223
Some(pprust::fun_to_str(
225224
&m.decl,
226225
m.ident,
227-
Some(m.self_ty.node),
228226
&m.generics,
229227
extract::interner()
230228
))
@@ -244,7 +242,6 @@ fn get_method_sig(
244242
Some(pprust::fun_to_str(
245243
&method.decl,
246244
method.ident,
247-
Some(method.self_ty.node),
248245
&method.generics,
249246
extract::interner()
250247
))

branches/snap-stage3/src/libsyntax/print/pprust.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,10 @@ pub fn path_to_str(&&p: @ast::path, intr: @ident_interner) -> ~str {
181181
}
182182

183183
pub fn fun_to_str(decl: &ast::fn_decl, name: ast::ident,
184-
opt_self_ty: Option<ast::self_ty_>,
185184
generics: &ast::Generics, intr: @ident_interner) -> ~str {
186185
do io::with_str_writer |wr| {
187186
let s = rust_printer(wr, intr);
188-
print_fn(s, decl, None, name, generics, opt_self_ty, ast::inherited);
187+
print_fn(s, decl, None, name, generics, None, ast::inherited);
189188
end(s); // Close the head box
190189
end(s); // Close the outer box
191190
eof(s.s);

0 commit comments

Comments
 (0)