diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-01-17 17:44:32 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-01-17 17:45:37 -0800 |
| commit | e23e45bc6d7696fa9d69ae9f8f59628eec2cbb03 (patch) | |
| tree | cf367e58389d5a6cb3618a398857cfda3707e29e /src/rustdoc/extract.rs | |
| parent | 5fbadd24ec350455dd24c31dd8dca64182346d3f (diff) | |
| download | rust-e23e45bc6d7696fa9d69ae9f8f59628eec2cbb03.tar.gz rust-e23e45bc6d7696fa9d69ae9f8f59628eec2cbb03.zip | |
rustdoc: Add rustdocs
Diffstat (limited to 'src/rustdoc/extract.rs')
| -rw-r--r-- | src/rustdoc/extract.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rustdoc/extract.rs b/src/rustdoc/extract.rs index 066ef8817ef..51acade36cf 100644 --- a/src/rustdoc/extract.rs +++ b/src/rustdoc/extract.rs @@ -1,8 +1,10 @@ +#[doc = "Converts the Rust AST to the rustdoc document model"]; + import rustc::syntax::ast; export from_srv, extract; -// FIXME: Want this to be from_srv<T:ast::srv> but it crashes +#[doc = "Use the AST service to create a document tree"] fn from_srv( srv: astsrv::srv, default_name: str @@ -12,7 +14,6 @@ fn from_srv( } } -#[doc = "Converts the Rust AST to the rustdoc document model"] fn extract( crate: @ast::crate, default_name: str |
