diff options
| author | bors <bors@rust-lang.org> | 2013-03-15 20:15:44 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-03-15 20:15:44 -0700 |
| commit | 6f1e8ef71abb390a8f6406292ea06c729dcbf9e5 (patch) | |
| tree | eacbc64a864bd47298bdf1f2e678f096b1ea02b6 /src/libsyntax | |
| parent | 5a77a1048897a12c9031d3e0b3867f0c6e3673ea (diff) | |
| parent | ee5842494a9170d6e1079a671695fcfc32ceb920 (diff) | |
| download | rust-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.rs | 2 |
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); |
