about summary refs log tree commit diff
path: root/src/libsyntax/ast_map.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-08-14 16:54:13 -0700
committerBrian Anderson <banderson@mozilla.com>2012-08-15 14:14:20 -0700
commit74c69e1053188d92b86bc8b28cbf1af87d31ea2d (patch)
tree8c07fc440e572eb59787705a9dd11fcd789430e0 /src/libsyntax/ast_map.rs
parent8be0f665bcda9f5e4077d0be6ebc6aa382e72319 (diff)
Convert more core types to camel case
Diffstat (limited to 'src/libsyntax/ast_map.rs')
-rw-r--r--src/libsyntax/ast_map.rs4
1 files changed, 2 insertions, 2 deletions
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,