diff options
| author | Paul Stansifer <paul.stansifer@gmail.com> | 2012-08-22 18:10:48 -0700 |
|---|---|---|
| committer | Paul Stansifer <paul.stansifer@gmail.com> | 2012-08-23 11:14:15 -0700 |
| commit | 77e83d83a9a93188c3bb80ea2bb09f2e5fd2579f (patch) | |
| tree | c3c72442481cd54d7db5fc47e3a419429ac96f4c /src/libcore/future.rs | |
| parent | c74a442e86abf885b53dba8a1a33359c70f49e15 (diff) | |
| download | rust-77e83d83a9a93188c3bb80ea2bb09f2e5fd2579f.tar.gz rust-77e83d83a9a93188c3bb80ea2bb09f2e5fd2579f.zip | |
Change calls of `proto!` to use parens.
Diffstat (limited to 'src/libcore/future.rs')
| -rw-r--r-- | src/libcore/future.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<A,B>(future: &Future<A>, blk: fn((&A)) -> B) -> B { blk(v) } -proto! future_pipe { +proto! future_pipe ( waiting:recv<T:send> { completed(T) -> ! } -} +) #[test] fn test_from_value() { |
