diff options
| author | varkor <github@varkor.com> | 2019-03-13 23:37:02 +0000 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-03-18 19:38:23 +0000 |
| commit | ec6f983e243ed7988be4eebd356181be7b1f5525 (patch) | |
| tree | 405c0844c32a27a48ff3a49683309cb1958bf2c7 /src/libsyntax | |
| parent | 0f88167f89fffe321590c5148f21b7d51d44388d (diff) | |
| download | rust-ec6f983e243ed7988be4eebd356181be7b1f5525.tar.gz rust-ec6f983e243ed7988be4eebd356181be7b1f5525.zip | |
Rename typarams to param_names
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index e04e127ccf1..07df14ddc72 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -1263,13 +1263,13 @@ impl<'a> State<'a> { self.s.word(";")?; self.end()?; // end the outer cbox } - ast::ItemKind::Fn(ref decl, header, ref typarams, ref body) => { + ast::ItemKind::Fn(ref decl, header, ref param_names, ref body) => { self.head("")?; self.print_fn( decl, header, Some(item.ident), - typarams, + param_names, &item.vis )?; self.s.word(" ")?; |
