rustdoc: Rename parse_compound_fndoc to parse_fn

This commit is contained in:
Brian Anderson 2012-01-15 22:00:07 -08:00
parent f3c4263635
commit d85fa7c8dc
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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));
}
}
}