diff options
| author | Gareth Daniel Smith <garethdanielsmith@gmail.com> | 2012-07-04 22:53:12 +0100 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-07-04 19:18:13 -0700 |
| commit | be0141666dd12316034499db12ee9fcf9ba648dd (patch) | |
| tree | 7d4c985a73e9a85de0e6c1bf2beeed44ebbd0102 /src/rustdoc/attr_parser.rs | |
| parent | bfa43ca3011bd1296cb1797ad3ea1c5dc4056749 (diff) | |
| download | rust-be0141666dd12316034499db12ee9fcf9ba648dd.tar.gz rust-be0141666dd12316034499db12ee9fcf9ba648dd.zip | |
convert doc-attributes to doc-comments using ./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
Diffstat (limited to 'src/rustdoc/attr_parser.rs')
| -rw-r--r-- | src/rustdoc/attr_parser.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rustdoc/attr_parser.rs b/src/rustdoc/attr_parser.rs index 56c42902ac2..32c5f7ccf53 100644 --- a/src/rustdoc/attr_parser.rs +++ b/src/rustdoc/attr_parser.rs @@ -39,9 +39,10 @@ fn doc_meta( attrs: ~[ast::attribute] ) -> option<@ast::meta_item> { - #[doc = - "Given a vec of attributes, extract the meta_items contained in the \ - doc attribute"]; + /*! + * Given a vec of attributes, extract the meta_items contained in the \ + * doc attribute + */ let doc_attrs = attr::find_attrs_by_name(attrs, "doc"); let doc_metas = do doc_attrs.map |attr| { |
