about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-03-01 13:30:06 -0800
committerPatrick Walton <pcwalton@mimiga.net>2013-03-02 16:49:31 -0800
commit256afb8a1057fdbe7bca2860af1ddb6ef0768d5c (patch)
tree4d766550ef686ca96c90c71fa3679af517093827 /src/libsyntax/parse
parent97fd421319fda45d0d4c6a0906f29a228ec57b42 (diff)
downloadrust-256afb8a1057fdbe7bca2860af1ddb6ef0768d5c.tar.gz
rust-256afb8a1057fdbe7bca2860af1ddb6ef0768d5c.zip
libsyntax: Remove `fn@`, `fn~`, and `fn&` from libsyntax. rs=defun
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index b4a74d52fb6..446c4b5f828 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -1822,8 +1822,8 @@ pub impl Parser {
                                 || self.parse_expr())
     }
 
-    fn parse_lambda_expr_(parse_decl: fn&() -> fn_decl,
-                          parse_body: fn&() -> @expr) -> @expr {
+    fn parse_lambda_expr_(parse_decl: &fn() -> fn_decl,
+                          parse_body: &fn() -> @expr) -> @expr {
         let lo = self.last_span.lo;
         let decl = parse_decl();
         let body = parse_body();