From 74c69e1053188d92b86bc8b28cbf1af87d31ea2d Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Tue, 14 Aug 2012 16:54:13 -0700 Subject: Convert more core types to camel case --- src/libsyntax/ast_map.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libsyntax/ast_map.rs') diff --git a/src/libsyntax/ast_map.rs b/src/libsyntax/ast_map.rs index 241a212c2ac..5b2b4fb0561 100644 --- a/src/libsyntax/ast_map.rs +++ b/src/libsyntax/ast_map.rs @@ -205,8 +205,8 @@ fn map_item(i: @item, cx: ctx, v: vt) { } item_foreign_mod(nm) => { let abi = match attr::foreign_abi(i.attrs) { - either::left(msg) => cx.diag.span_fatal(i.span, msg), - either::right(abi) => abi + either::Left(msg) => cx.diag.span_fatal(i.span, msg), + either::Right(abi) => abi }; for nm.items.each |nitem| { cx.map.insert(nitem.id, -- cgit 1.4.1-3-g733a5