Skip to content

Commit 4b5b96c

Browse files
committed
Remove a couple more spurious 'mutable' value qualifiers from macos_OS.rs.
1 parent 7e8b57d commit 4b5b96c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/macos_OS.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ fn dylib_filename(str base) -> str {
6262
}
6363

6464
fn pipe() -> tup(int, int) {
65-
let vec[mutable int] fds = vec(mutable 0, 0);
65+
let vec[mutable int] fds = vec(0, 0);
6666
assert (OS.libc.pipe(Vec.buf[mutable int](fds)) == 0);
6767
ret tup(fds.(0), fds.(1));
6868
}
@@ -72,7 +72,7 @@ fn fd_FILE(int fd) -> libc.FILE {
7272
}
7373

7474
fn waitpid(int pid) -> int {
75-
let vec[mutable int] status = vec(mutable 0);
75+
let vec[mutable int] status = vec(0);
7676
assert (OS.libc.waitpid(pid, Vec.buf[mutable int](status), 0) != -1);
7777
ret status.(0);
7878
}

0 commit comments

Comments
 (0)