Skip to content

Commit 4b7d27c

Browse files
committed
libcargo: Get rid of move.
1 parent 0375748 commit 4b7d27c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libcargo/cargo.rc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ pub fn configure(opts: Options) -> Cargo {
744744
~" or package manager to get it to work correctly");
745745
}
746746

747-
move c
747+
c
748748
}
749749

750750
pub fn for_each_package(c: &Cargo, b: fn(s: @Source, p: &Package)) {
@@ -1655,10 +1655,10 @@ pub fn dump_sources(c: &Cargo) {
16551655
_ => ()
16561656
}
16571657

1658-
hash.insert(copy k, json::Object(move chash));
1658+
hash.insert(copy k, json::Object(chash));
16591659
}
16601660

1661-
json::to_writer(writer, &json::Object(move hash))
1661+
json::to_writer(writer, &json::Object(hash))
16621662
}
16631663
result::Err(e) => {
16641664
error(fmt!("could not dump sources: %s", e));

0 commit comments

Comments
 (0)