From 88621bc53ce630b3fc0335b4724f63b3bf099cff Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Wed, 11 May 2011 15:35:06 +0200 Subject: Remove a few more 'mutable' words Didn't see these before because they live in non-Linux code. --- src/lib/win32_OS.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/win32_OS.rs') diff --git a/src/lib/win32_OS.rs b/src/lib/win32_OS.rs index b799287c..7330102e 100644 --- a/src/lib/win32_OS.rs +++ b/src/lib/win32_OS.rs @@ -53,7 +53,7 @@ fn dylib_filename(str base) -> str { fn pipe() -> tup(int, int) { let vec[mutable int] fds = vec(mutable 0, 0); - assert (OS.libc._pipe(Vec.buf[mutable int](fds), 1024u, + assert (OS.libc._pipe(Vec.buf(fds), 1024u, libc_constants.O_BINARY()) == 0); ret tup(fds.(0), fds.(1)); } -- cgit v1.2.3