Skip to content

Commit f4b3f86

Browse files
committed
---
yaml --- r: 7467 b: refs/heads/master c: ca7cfbe h: refs/heads/master i: 7465: 942e742 7463: 07bb44f v: v3
1 parent 6101cb9 commit f4b3f86

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: b141de657bb05653610a52d466f814f031cc26c1
2+
refs/heads/master: ca7cfbe3d0251766217e5d4e559903e655e7549b

trunk/src/rustdoc/rustdoc.rs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,21 @@ fn run_passes(
1111
passes: [pass]
1212
) -> doc::cratedoc {
1313

14-
#[doc = "Run a series of passes over the document"];
14+
#[doc(
15+
brief =
16+
"Run a series of passes over the document",
17+
args(
18+
srv =
19+
"The AST service to provide to the passes",
20+
doc =
21+
"The document to transform",
22+
passes =
23+
"The list of passes used to transform the document"
24+
),
25+
return =
26+
"The transformed document that results from folding the \
27+
original through each pass"
28+
)];
1529

1630
vec::foldl(doc, passes) {|doc, pass|
1731
pass(srv, doc)

0 commit comments

Comments
 (0)