rustdoc: Wire up the doc extractor to attribute parser

This commit is contained in:
Brian Anderson 2012-01-15 22:49:57 -08:00
parent 763f3c4d5b
commit 237d96512a

View File

@ -56,15 +56,9 @@ fn fndoc_from_fn(
_decl: ast::fn_decl,
_typarams: [ast::ty_param],
name: ast::ident,
_attrs: [ast::attribute]
attrs: [ast::attribute]
) -> doc::fndoc {
~{
name: name,
brief: "todo",
desc: none,
return: none,
args: map::new_str_hash::<str>()
}
attr_parser::parse_fn(name, attrs)
}
#[cfg(test)]