diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-03-01 13:30:06 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-03-02 16:49:31 -0800 |
| commit | 256afb8a1057fdbe7bca2860af1ddb6ef0768d5c (patch) | |
| tree | 4d766550ef686ca96c90c71fa3679af517093827 /src/libsyntax/parse | |
| parent | 97fd421319fda45d0d4c6a0906f29a228ec57b42 (diff) | |
| download | rust-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.rs | 4 |
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(); |
