rustdoc: Wire up the doc extractor to attribute parser
This commit is contained in:
parent
763f3c4d5b
commit
237d96512a
@ -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)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user