about summary refs log tree commit diff
path: root/src/cargo/cargo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cargo/cargo.rs')
-rw-r--r--src/cargo/cargo.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cargo/cargo.rs b/src/cargo/cargo.rs
index afab69443ed..3ab33e9b0be 100644
--- a/src/cargo/cargo.rs
+++ b/src/cargo/cargo.rs
@@ -417,7 +417,7 @@ fn install_source(c: cargo, path: str) {
     for cf: str in cratefiles {
         let p = load_pkg(cf);
         alt p {
-            none. { cont; }
+            none { cont; }
             some(_p) {
                 if c.test {
                     test_one_crate(c, path, cf, _p);
@@ -559,7 +559,7 @@ fn cmd_install(c: cargo, argv: [str]) {
 
     let wd = alt tempfile::mkdtemp(c.workdir + fs::path_sep(), "") {
         some(_wd) { _wd }
-        none. { fail "needed temp dir"; }
+        none { fail "needed temp dir"; }
     };
 
     if str::starts_with(target, "uuid:") {