about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-03-15 20:15:44 -0700
committerbors <bors@rust-lang.org>2013-03-15 20:15:44 -0700
commit6f1e8ef71abb390a8f6406292ea06c729dcbf9e5 (patch)
treeeacbc64a864bd47298bdf1f2e678f096b1ea02b6 /src/libsyntax
parent5a77a1048897a12c9031d3e0b3867f0c6e3673ea (diff)
parentee5842494a9170d6e1079a671695fcfc32ceb920 (diff)
downloadrust-6f1e8ef71abb390a8f6406292ea06c729dcbf9e5.tar.gz
rust-6f1e8ef71abb390a8f6406292ea06c729dcbf9e5.zip
auto merge of #5404 : bstrie/rust/decopy, r=pcwalton
Also turn `copy` into `.clone()` in much of run-pass.
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ext/pipes/liveness.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/pipes/liveness.rs b/src/libsyntax/ext/pipes/liveness.rs
index 97f2e516603..15ba7f95538 100644
--- a/src/libsyntax/ext/pipes/liveness.rs
+++ b/src/libsyntax/ext/pipes/liveness.rs
@@ -63,7 +63,7 @@ pub fn analyze(proto: protocol, _cx: @ext_ctxt) {
         debug!("colive iteration %?", i);
         let mut new_colive = ~[];
         for colive.eachi |i, this_colive| {
-            let mut result = ~this_colive.clone();
+            let mut result = this_colive.clone();
             let this = proto.get_state_by_id(i);
             for this_colive.ones |j| {
                 let next = proto.get_state_by_id(j);