diff --git a/src/libcore/future.rs b/src/libcore/future.rs
index 7bd73207ef5b..10a137661406 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() {
diff --git a/src/libcore/pipes.rs b/src/libcore/pipes.rs
index 048bd64f8f62..7d5db0473637 100644
--- a/src/libcore/pipes.rs
+++ b/src/libcore/pipes.rs
@@ -7,14 +7,14 @@
protocol. Below is an example protocol.
~~~
-proto! pingpong {
+proto! pingpong (
ping: send {
ping -> pong
}
pong: recv {
pong -> ping
}
-}
+)
~~~
The `proto!` syntax extension will convert this into a module called
@@ -893,11 +893,11 @@ fn spawn_service_recv(
// Streams - Make pipes a little easier in general.
-proto! streamp {
+proto! streamp (
open:send {
data(T) -> open
}
-}
+)
/// A trait for things that can send multiple messages.
trait channel {
@@ -1138,11 +1138,11 @@ fn try_select() -> Either