diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-09-10 13:16:34 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-09-10 13:36:54 -0700 |
| commit | a07ea73bdbc023f80efe809388ed9299ba76bcb8 (patch) | |
| tree | 61f8567ffbe4285ed41bdf18d205331c98849726 /src/libcore/vec.rs | |
| parent | 04f17634091587053ae7d7d35d2318406e8d7d0d (diff) | |
Make moves explicit in task; also make option::unwrap take its argument by move
Diffstat (limited to 'src/libcore/vec.rs')
| -rw-r--r-- | src/libcore/vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/vec.rs b/src/libcore/vec.rs index 0907041809a..e242f619ccd 100644 --- a/src/libcore/vec.rs +++ b/src/libcore/vec.rs @@ -1799,7 +1799,7 @@ mod unsafe { let mut box2 = None; box2 <-> box; rusti::move_val_init(*ptr::mut_offset(p, i), - option::unwrap(move box2)); + option::unwrap(box2)); } } |
