diff --git a/src/rustdoc/attr_parser.rs b/src/rustdoc/attr_parser.rs index eefb9d827bf..2e8a48c5ee1 100644 --- a/src/rustdoc/attr_parser.rs +++ b/src/rustdoc/attr_parser.rs @@ -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; diff --git a/src/rustdoc/rustdoc.rs b/src/rustdoc/rustdoc.rs index 596a5a419d8..94488841119 100755 --- a/src/rustdoc/rustdoc.rs +++ b/src/rustdoc/rustdoc.rs @@ -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)); } } }