rustdoc: Add a pass that extracts brief docs from long docs
If the first paragraph of documentation is short then it will be used as the brief description.
This commit is contained in:
@@ -100,6 +100,7 @@ fn run(source_file: str) {
|
||||
attr_pass::mk_pass(),
|
||||
// FIXME: This pass should be optional
|
||||
prune_undoc_pass::mk_pass(),
|
||||
desc_to_brief_pass::mk_pass(),
|
||||
gen::mk_pass {|| std::io:: stdout()}
|
||||
]);
|
||||
}
|
||||
Reference in New Issue
Block a user