diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-01-15 22:49:57 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-01-16 01:07:42 -0800 |
| commit | 237d96512a93c72254ece175aed5ced912fbfefe (patch) | |
| tree | ec99fb2934281ce503a86874ba0e5227e9711f2a /src/rustdoc | |
| parent | 763f3c4d5b3c81c83a925b8384751004b6f52457 (diff) | |
| download | rust-237d96512a93c72254ece175aed5ced912fbfefe.tar.gz rust-237d96512a93c72254ece175aed5ced912fbfefe.zip | |
rustdoc: Wire up the doc extractor to attribute parser
Diffstat (limited to 'src/rustdoc')
| -rw-r--r-- | src/rustdoc/extract.rs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/rustdoc/extract.rs b/src/rustdoc/extract.rs index 06450cc2f08..64a8a7389e2 100644 --- a/src/rustdoc/extract.rs +++ b/src/rustdoc/extract.rs @@ -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)] |
