about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-09-26 16:27:12 -0700
committerBrian Anderson <banderson@mozilla.com>2012-09-26 20:15:23 -0700
commite8fe718bfd4d88b0bc59117326a14a10f2598568 (patch)
tree5fdc1f4bfbd51f490ee30a846491f4c0e6dfac4b /src/libsyntax/parse/parser.rs
parent64de6d638da71f7b3a55d663b194b95f7f06d6c8 (diff)
downloadrust-e8fe718bfd4d88b0bc59117326a14a10f2598568.tar.gz
rust-e8fe718bfd4d88b0bc59117326a14a10f2598568.zip
core: Replace map/map_default with map_ref/map_default_ref
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-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 b650a8890c5..f8ad6c541f6 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -2758,7 +2758,7 @@ impl parser {
         }
 
         let actual_dtor = do the_dtor.map |dtor| {
-            let (d_body, d_attrs, d_s) = dtor;
+            let (d_body, d_attrs, d_s) = *dtor;
             {node: {id: self.get_id(),
                     attrs: d_attrs,
                     self_id: self.get_id(),
@@ -3126,7 +3126,7 @@ impl parser {
         }
         self.bump();
         let mut actual_dtor = do the_dtor.map |dtor| {
-            let (d_body, d_attrs, d_s) = dtor;
+            let (d_body, d_attrs, d_s) = *dtor;
             {node: {id: self.get_id(),
                     attrs: d_attrs,
                     self_id: self.get_id(),