1
Fork 0

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, _decl: ast::fn_decl,
_typarams: [ast::ty_param], _typarams: [ast::ty_param],
name: ast::ident, name: ast::ident,
_attrs: [ast::attribute] attrs: [ast::attribute]
) -> doc::fndoc { ) -> doc::fndoc {
~{ attr_parser::parse_fn(name, attrs)
name: name,
brief: "todo",
desc: none,
return: none,
args: map::new_str_hash::<str>()
}
} }
#[cfg(test)] #[cfg(test)]