rustdoc: Add argument types to the doc
This commit is contained in:
parent
f3fa7c1555
commit
6da55efa4e
3 changed files with 65 additions and 21 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue