From 00ffb15aac7402f809e0eddedb209e7e3a199828 Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Tue, 25 Sep 2012 22:01:05 -0700 Subject: [PATCH] Demode pipes::set_buffer --- src/libcore/pipes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/pipes.rs b/src/libcore/pipes.rs index 7321829f6b6..b67f572d4f7 100644 --- a/src/libcore/pipes.rs +++ b/src/libcore/pipes.rs @@ -189,7 +189,7 @@ impl PacketHeader { reinterpret_cast(&self.buffer) } - fn set_buffer(b: ~Buffer) unsafe { + fn set_buffer(+b: ~Buffer) unsafe { self.buffer = reinterpret_cast(&b); } }