about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLuqman Aden <laden@mozilla.com>2013-02-15 00:27:41 -0800
committerLuqman Aden <laden@mozilla.com>2013-02-15 02:49:54 -0800
commit4b7d27c2a7311836f6b131759d4402cb48dadb51 (patch)
treeb16ee212bdfffc8485ed43aad001e554c3b39439
parent03757482f0b28b75468396ff6aea37c855043108 (diff)
libcargo: Get rid of `move`.
-rw-r--r--src/libcargo/cargo.rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcargo/cargo.rc b/src/libcargo/cargo.rc
index 782878e05c7..98fd5090954 100644
--- a/src/libcargo/cargo.rc
+++ b/src/libcargo/cargo.rc
@@ -744,7 +744,7 @@ pub fn configure(opts: Options) -> Cargo {
              ~" or package manager to get it to work correctly");
     }
 
-    move c
+    c
 }
 
 pub fn for_each_package(c: &Cargo, b: fn(s: @Source, p: &Package)) {
@@ -1655,10 +1655,10 @@ pub fn dump_sources(c: &Cargo) {
                     _ => ()
                 }
 
-                hash.insert(copy k, json::Object(move chash));
+                hash.insert(copy k, json::Object(chash));
             }
 
-            json::to_writer(writer, &json::Object(move hash))
+            json::to_writer(writer, &json::Object(hash))
         }
         result::Err(e) => {
             error(fmt!("could not dump sources: %s", e));