diff options
| author | Paul Stansifer <paul.stansifer@gmail.com> | 2012-11-19 23:53:52 -0500 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-11-29 12:09:10 -0800 |
| commit | 9814e58815a847e93c42c3987c3659104708f484 (patch) | |
| tree | b8422587d1f00f5a5e3e60455cef7f443e3475c0 /src/libcore/task | |
| parent | ba354b1726988eca0d4a0b023c1bafd576b3570b (diff) | |
| download | rust-9814e58815a847e93c42c3987c3659104708f484.tar.gz rust-9814e58815a847e93c42c3987c3659104708f484.zip | |
No longer parse the delimiters of the RHS of a macro as part of the expansion.
Diffstat (limited to 'src/libcore/task')
| -rw-r--r-- | src/libcore/task/spawn.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/task/spawn.rs b/src/libcore/task/spawn.rs index ea66776d22d..b4bea442e69 100644 --- a/src/libcore/task/spawn.rs +++ b/src/libcore/task/spawn.rs @@ -67,7 +67,7 @@ use rt::rust_task; use rt::rust_closure; macro_rules! move_it ( - { $x:expr } => { unsafe { let y = move *ptr::addr_of(&($x)); move y } } + { $x:expr } => ( unsafe { let y = move *ptr::addr_of(&($x)); move y } ) ) type TaskSet = send_map::linear::LinearMap<*rust_task,()>; |
