Eliminate some extraneous curly brackets inside invocations of macro_rules!.

This commit is contained in:
Paul Stansifer
2012-08-22 18:06:54 -07:00
parent 38891b91bf
commit c74a442e86
9 changed files with 23 additions and 23 deletions

View File

@@ -65,7 +65,7 @@ fn from_value<A>(+val: A) -> Future<A> {
}
macro_rules! move_it (
{$x:expr} => { unsafe { let y <- *ptr::addr_of($x); y } }
($x:expr) => { unsafe { let y <- *ptr::addr_of($x); y } }
)
fn from_port<A:send>(+port: future_pipe::client::waiting<A>) -> Future<A> {