about summary refs log tree commit diff
path: root/src/libsyntax/print
diff options
context:
space:
mode:
authorScott Olson <scott@solson.me>2017-01-15 23:36:10 -0800
committerScott Olson <scott@solson.me>2017-01-16 00:45:51 -0800
commita9f8f98caabbe388b576f1c277cff51253db6b44 (patch)
tree689a3cfc214a85c33024c50d36a3c8346ce52148 /src/libsyntax/print
parentff591b6dc0e0a107c778d0bb4cf103881527e1a5 (diff)
downloadrust-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.rs2
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) => {