rustdoc: Add rustdocs

This commit is contained in:
Brian Anderson
2012-01-17 17:44:32 -08:00
parent 5fbadd24ec
commit e23e45bc6d
10 changed files with 39 additions and 3 deletions

View File

@@ -1,4 +1,11 @@
#[doc = "Provides all access to AST-related, non-sendable info"];
#[doc(
brief = "Provides all access to AST-related, non-sendable info",
desc =
"Rustdoc is intended to be parallel, and the rustc AST is filled \
with shared boxes. The AST service attempts to provide a single \
place to query AST-related information, shielding the rest of \
Rustdoc from its non-sendableness."
)];
import rustc::syntax::ast;
import rustc::middle::ast_map;