diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-09-27 00:43:37 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-10-07 17:23:06 +0200 |
| commit | fe24e815a2d0aecfd975a15a12a4b4937bb4cc37 (patch) | |
| tree | b14e534477fb66a951439ad35c434aa11025fc3f /src/librustdoc/clean | |
| parent | 3493c62ff2628ef81f6f3a968c951252e9b57824 (diff) | |
Fix invalid rustdoc rendering for FnTy args
Diffstat (limited to 'src/librustdoc/clean')
| -rw-r--r-- | src/librustdoc/clean/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs index c9afa3646b2..424f48a17e9 100644 --- a/src/librustdoc/clean/mod.rs +++ b/src/librustdoc/clean/mod.rs @@ -2491,7 +2491,7 @@ impl Clean<BareFunctionDecl> for hir::BareFnTy { type_params: Vec::new(), where_predicates: Vec::new() }, - decl: (&*self.decl, &[][..]).clean(cx), + decl: (&*self.decl, &self.arg_names[..]).clean(cx), abi: self.abi, } } |
