Skip to content

Commit ad8290b

Browse files
committed
---
yaml --- r: 11491 b: refs/heads/master c: ac34cf9 h: refs/heads/master i: 11489: 746b488 11487: 1d3de74 v: v3
1 parent 77b2da3 commit ad8290b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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: 59d6ec8bd95091658a47eda23a6d7878777a6bb6
2+
refs/heads/master: ac34cf96ad8f90dbeb979915508345cf200ab65f
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/rustdoc/attr_pass.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ fn should_extract_fn_return_attributes() {
199199
astsrv::from_str(source) {|srv|
200200
let doc = extract::from_srv(srv, "");
201201
let doc = tystr_pass::mk_pass()(srv, doc);
202-
let fold = fold::default_seq_fold(srv);
202+
let fold = fold::default_any_fold(srv);
203203
let doc = fold_fn(fold, doc.topmod.fns()[0]);
204204
assert doc.return.desc == some("what");
205205
}
@@ -211,7 +211,7 @@ fn should_preserve_fn_sig() {
211211
astsrv::from_str(source) {|srv|
212212
let doc = extract::from_srv(srv, "");
213213
let doc = tystr_pass::mk_pass()(srv, doc);
214-
let fold = fold::default_seq_fold(srv);
214+
let fold = fold::default_any_fold(srv);
215215
let doc = fold_fn(fold, doc.topmod.fns()[0]);
216216
assert doc.sig == some("fn a() -> int");
217217
}

0 commit comments

Comments
 (0)