diff options
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 |
