rustdoc: Add fn arg descriptions to the doc tree
This commit is contained in:
parent
515fdb2863
commit
266cc7b0c3
3 changed files with 28 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue