From 77e83d83a9a93188c3bb80ea2bb09f2e5fd2579f Mon Sep 17 00:00:00 2001 From: Paul Stansifer Date: Wed, 22 Aug 2012 18:10:48 -0700 Subject: Change calls of `proto!` to use parens. --- src/libcore/future.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libcore/future.rs') diff --git a/src/libcore/future.rs b/src/libcore/future.rs index 7bd73207ef5..10a13766140 100644 --- a/src/libcore/future.rs +++ b/src/libcore/future.rs @@ -134,11 +134,11 @@ fn with(future: &Future, blk: fn((&A)) -> B) -> B { blk(v) } -proto! future_pipe { +proto! future_pipe ( waiting:recv { completed(T) -> ! } -} +) #[test] fn test_from_value() { -- cgit 1.4.1-3-g733a5