Remove '.' after nullary tags in patterns

Does what it says on the tin.

The next commit will remove support for this syntax.
This commit is contained in:
Tim Chevalier 2012-01-18 22:37:22 -08:00
parent ca7cfbe3d0
commit 04a2887f87
96 changed files with 1410 additions and 1410 deletions

View file

@ -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:") {