1
Fork 0

rustdoc: Add fn arg descriptions to the doc tree

This commit is contained in:
Brian Anderson 2012-01-18 22:24:29 -08:00
parent 515fdb2863
commit 266cc7b0c3
3 changed files with 28 additions and 4 deletions

View file

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