about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-08-26 16:54:31 -0700
committerBrian Anderson <banderson@mozilla.com>2012-08-27 14:37:04 -0700
commit0c6e470a257fc546555aa10ededded4a77460a71 (patch)
treefb54281612401dba521efedab7626474c80195a9 /src/libsyntax/parse
parent3a1582012eafb8b672e15b12b5424e72ea6096af (diff)
downloadrust-0c6e470a257fc546555aa10ededded4a77460a71.tar.gz
rust-0c6e470a257fc546555aa10ededded4a77460a71.zip
Convert core::result to camel case
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/eval.rs4
-rw-r--r--src/libsyntax/parse/parser.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/parse/eval.rs b/src/libsyntax/parse/eval.rs
index 2a4516f80aa..39f8bb59c1f 100644
--- a/src/libsyntax/parse/eval.rs
+++ b/src/libsyntax/parse/eval.rs
@@ -54,8 +54,8 @@ fn parse_companion_mod(cx: ctx, prefix: &Path, suffix: &Option<Path>)
         // Crude, but there's no lib function for this and I'm not
         // up to writing it just now
         match io::file_reader(path) {
-          result::ok(_) => true,
-          result::err(_) => false
+          result::Ok(_) => true,
+          result::Err(_) => false
         }
     }
 
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index a98be8ec1d0..f73d4163e9c 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -1,6 +1,6 @@
 import print::pprust::expr_to_str;
 
-import result::result;
+import result::Result;
 import either::{Either, Left, Right};
 import std::map::{hashmap, str_hash};
 import token::{can_begin_expr, is_ident, is_ident_or_path, is_plain_ident,