diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-09-11 17:17:54 -0700 | 
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-09-11 20:02:34 -0700 | 
| commit | c087886e9321d6086ed3a623ec571da35fb865bf (patch) | |
| tree | 51949005b792266cf48fe1f53b25cc587732eb75 /src/libcore/future.rs | |
| parent | 2c6c963f61d84d2a959df0d5c82f519c157ef552 (diff) | |
| download | rust-c087886e9321d6086ed3a623ec571da35fb865bf.tar.gz rust-c087886e9321d6086ed3a623ec571da35fb865bf.zip | |
Make moves explicit in arguments
Diffstat (limited to 'src/libcore/future.rs')
| -rw-r--r-- | src/libcore/future.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/libcore/future.rs b/src/libcore/future.rs index 8ae8f632083..94f7aa8f3c5 100644 --- a/src/libcore/future.rs +++ b/src/libcore/future.rs @@ -90,7 +90,7 @@ fn from_port<A:Send>(+port: future_pipe::client::waiting<A>) -> Future<A> { do from_fn |move port| { let mut port_ = None; port_ <-> *port; - let port = option::unwrap(port_); + let port = option::unwrap(move port_); match recv(move port) { future_pipe::completed(move data) => move data } | 
