We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44ddbc5 commit 09c707fCopy full SHA for 09c707f
1 file changed
src/librustdoc/clean/mod.rs
@@ -2017,7 +2017,7 @@ impl<'a> Clean<Arguments> for (&'a [hir::Ty], hir::BodyId) {
2017
Arguments {
2018
values: self.0.iter().enumerate().map(|(i, ty)| {
2019
Argument {
2020
- name: name_from_pat(&body.arguments[i].pat),
+ name: name_from_pat(&body.arguments[i].original_pat()),
2021
type_: ty.clean(cx),
2022
}
2023
}).collect()
0 commit comments