]> git.lizzy.rs Git - rust.git/commitdiff
rustdoc: Document attr_parser::doc_meta
authorBrian Anderson <banderson@mozilla.com>
Wed, 18 Jan 2012 21:59:19 +0000 (13:59 -0800)
committerBrian Anderson <banderson@mozilla.com>
Wed, 18 Jan 2012 23:02:42 +0000 (15:02 -0800)
src/rustdoc/attr_parser.rs

index beec9e0301d9f435a2913a73574b046898696fd3..5e1e6eaf6540a1253d0fc51c0d176a5e3313874e 100644 (file)
@@ -24,6 +24,9 @@
     desc: str
 };
 
+#[doc =
+  "Given a vec of attributes, extract the meta_items contained in the \
+   doc attribute"]
 fn doc_meta(
     attrs: [ast::attribute]
 ) -> option<@ast::meta_item> {