rustdoc: Rename parse_compound_fndoc to parse_fn
This commit is contained in:
parent
f3c4263635
commit
d85fa7c8dc
@ -1,4 +1,4 @@
|
||||
export parse_compound_fndoc;
|
||||
export parse_fn;
|
||||
|
||||
#[doc(
|
||||
brief = "Parses function docs from a complex #[doc] attribute.",
|
||||
@ -12,7 +12,7 @@ export parse_compound_fndoc;
|
||||
args(items = "Doc attribute contents"),
|
||||
return = "Parsed function docs."
|
||||
)]
|
||||
fn parse_compound_fndoc(items: [@ast::meta_item]) -> doc::fndoc {
|
||||
fn parse_fn(items: [@ast::meta_item]) -> doc::fndoc {
|
||||
let brief = none;
|
||||
let desc = none;
|
||||
let return = none;
|
||||
|
@ -44,7 +44,7 @@ fn doc_item(rd: rustdoc, item: @ast::item) {
|
||||
}
|
||||
ast::meta_list("doc", docs) {
|
||||
_fndoc = some(
|
||||
attr_parser::parse_compound_fndoc(docs));
|
||||
attr_parser::parse_fn(docs));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user