rustdoc: Use doc comments for rustdoc's rustdocs

This commit is contained in:
Brian Anderson
2012-09-20 16:09:46 -07:00
parent d3f0ede198
commit 89bbbd612a
8 changed files with 47 additions and 46 deletions

View File

@@ -1,9 +1,9 @@
#[doc(
brief = "Attribute parsing",
desc =
"The attribute parser provides methods for pulling documentation out of \
an AST's attributes."
)];
/*!
Attribute parsing
The attribute parser provides methods for pulling documentation out of
an AST's attributes.
*/
use syntax::ast;
use syntax::attr;