From a9f8f98caabbe388b576f1c277cff51253db6b44 Mon Sep 17 00:00:00 2001 From: Scott Olson Date: Sun, 15 Jan 2017 23:36:10 -0800 Subject: Rename ExprKind::Vec to Array in HIR and HAIR. This is a clearer name since they represent [a, b, c] array literals. --- src/libsyntax/print/pprust.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/print') 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) => { -- cgit 1.4.1-3-g733a5