about summary refs log tree commit diff
path: root/src/rustdoc
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-01-18 13:59:19 -0800
committerBrian Anderson <banderson@mozilla.com>2012-01-18 15:02:42 -0800
commit919191149920ac58421c0a80906a541c09bca8d4 (patch)
tree185ddcc80430cbfdaef9e6525c46900dc6da1a54 /src/rustdoc
parent17fef6caaf0a1bfb77dde896675997d2bfc9e873 (diff)
downloadrust-919191149920ac58421c0a80906a541c09bca8d4.tar.gz
rust-919191149920ac58421c0a80906a541c09bca8d4.zip
rustdoc: Document attr_parser::doc_meta
Diffstat (limited to 'src/rustdoc')
-rw-r--r--src/rustdoc/attr_parser.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rustdoc/attr_parser.rs b/src/rustdoc/attr_parser.rs
index beec9e0301d..5e1e6eaf654 100644
--- a/src/rustdoc/attr_parser.rs
+++ b/src/rustdoc/attr_parser.rs
@@ -24,6 +24,9 @@ type arg_attrs = {
     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> {