1
Fork 0

rustdoc: Add argument types to the doc

This commit is contained in:
Brian Anderson 2012-01-18 17:05:03 -08:00
parent f3fa7c1555
commit 6da55efa4e
3 changed files with 65 additions and 21 deletions

View file

@ -95,7 +95,8 @@ fn argdocs_from_args(args: [ast::arg]) -> [doc::argdoc] {
fn argdoc_from_arg(arg: ast::arg) -> doc::argdoc {
~{
name: arg.ident
name: arg.ident,
ty: none
}
}