rustdoc: Add rustdocs
This commit is contained in:
parent
5fbadd24ec
commit
e23e45bc6d
10 changed files with 39 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue