diff options
| author | Scott Olson <scott@solson.me> | 2017-01-15 23:36:10 -0800 |
|---|---|---|
| committer | Scott Olson <scott@solson.me> | 2017-01-16 00:45:51 -0800 |
| commit | a9f8f98caabbe388b576f1c277cff51253db6b44 (patch) | |
| tree | 689a3cfc214a85c33024c50d36a3c8346ce52148 /src/libsyntax/print | |
| parent | ff591b6dc0e0a107c778d0bb4cf103881527e1a5 (diff) | |
| download | rust-a9f8f98caabbe388b576f1c277cff51253db6b44.tar.gz rust-a9f8f98caabbe388b576f1c277cff51253db6b44.zip | |
Rename ExprKind::Vec to Array in HIR and HAIR.
This is a clearer name since they represent [a, b, c] array literals.
Diffstat (limited to 'src/libsyntax/print')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index ff77732f535..057737d7548 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -2018,7 +2018,7 @@ impl<'a> State<'a> { ast::ExprKind::InPlace(ref place, ref expr) => { self.print_expr_in_place(place, expr)?; } - ast::ExprKind::Vec(ref exprs) => { + ast::ExprKind::Array(ref exprs) => { self.print_expr_vec(&exprs[..], attrs)?; } ast::ExprKind::Repeat(ref element, ref count) => { |
