We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b141de6 commit ca7cfbeCopy full SHA for ca7cfbe
src/rustdoc/rustdoc.rs
@@ -11,7 +11,21 @@ fn run_passes(
11
passes: [pass]
12
) -> doc::cratedoc {
13
14
- #[doc = "Run a series of passes over the document"];
+ #[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
+ )];
29
30
vec::foldl(doc, passes) {|doc, pass|
31
pass(srv, doc)
0 commit comments