about summary refs log tree commit diff
path: root/src/cargo
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-01-18 22:37:22 -0800
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-01-18 23:17:34 -0800
commit04a2887f8791bb080b4e76a55949a7c1954dbb97 (patch)
treef072b2cc1e0b41270041a3a10a4fc313d3fa1a89 /src/cargo
parentca7cfbe3d0251766217e5d4e559903e655e7549b (diff)
Remove '.' after nullary tags in patterns
Does what it says on the tin.

The next commit will remove support for this syntax.
Diffstat (limited to 'src/cargo')
-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:") {