From 4539f8a03cfa85fae97140687bc8ed2e48d91a65 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Mon, 9 May 2011 17:49:19 -0700 Subject: Alias-ify fold and its users, remove another 85kb. --- src/comp/util/common.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/comp/util/common.rs') diff --git a/src/comp/util/common.rs b/src/comp/util/common.rs index b1a39893..2c4dcd26 100644 --- a/src/comp/util/common.rs +++ b/src/comp/util/common.rs @@ -252,12 +252,12 @@ fn has_nonlocal_exits(&ast.block b) -> bool { /* overkill, but just passing around a mutable bool doesn't seem to work in rustboot */ auto has_exits = new_str_hash[()](); - - fn set_break(&flag f, &span sp, ast.ann a) -> @ast.expr { + + fn set_break(&flag f, &span sp, &ast.ann a) -> @ast.expr { f.insert("foo", ()); ret @respan(sp, ast.expr_break(a)); } - fn set_cont(&flag f, &span sp, ast.ann a) -> @ast.expr { + fn set_cont(&flag f, &span sp, &ast.ann a) -> @ast.expr { f.insert("foo", ()); ret @respan(sp, ast.expr_cont(a)); } -- cgit v1.2.3