Skip to content

Commit 6fb27c0

Browse files
committed
---
yaml --- r: 46910 b: refs/heads/try c: 2d2ed07 h: refs/heads/master v: v3
1 parent 4ac6816 commit 6fb27c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 3bbcac322669cff3abde5be937cc4ec3860f3985
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a6d9689399d091c3265f00434a69c551a61c28dc
5-
refs/heads/try: e58c812f7761228281aaf3140e53cc2e9945760a
5+
refs/heads/try: 2d2ed075e3c549e8bb1980de26a106de965e51c8
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libcore/run.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ pub fn start_program(prog: &str, args: &[~str]) -> Program {
290290

291291
fn read_all(rd: io::Reader) -> ~str {
292292
let buf = io::with_bytes_writer(|wr| {
293-
let mut bytes = [mut 0, ..4096];
293+
let mut bytes = [0, ..4096];
294294
while !rd.eof() {
295295
let nread = rd.read(bytes, bytes.len());
296296
wr.write(bytes.view(0, nread));
@@ -391,7 +391,7 @@ pub fn readclose(fd: c_int) -> ~str {
391391
let file = os::fdopen(fd);
392392
let reader = io::FILE_reader(file, false);
393393
let buf = io::with_bytes_writer(|writer| {
394-
let mut bytes = [mut 0, ..4096];
394+
let mut bytes = [0, ..4096];
395395
while !reader.eof() {
396396
let nread = reader.read(bytes, bytes.len());
397397
writer.write(bytes.view(0, nread));

0 commit comments

Comments
 (0)