diff options
| author | Marijn Haverbeke <[email protected]> | 2011-05-11 15:35:06 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <[email protected]> | 2011-05-11 15:39:39 +0200 |
| commit | 88621bc53ce630b3fc0335b4724f63b3bf099cff (patch) | |
| tree | 59f313267c44d8ba81e0c54ae7889495942e48f1 /src/lib/win32_OS.rs | |
| parent | Get rid of arm indices (diff) | |
| download | rust-88621bc53ce630b3fc0335b4724f63b3bf099cff.tar.xz rust-88621bc53ce630b3fc0335b4724f63b3bf099cff.zip | |
Remove a few more 'mutable' words
Didn't see these before because they live in non-Linux code.
Diffstat (limited to 'src/lib/win32_OS.rs')
| -rw-r--r-- | src/lib/win32_OS.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |