File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
branches/auto/src/libcore Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
14
14
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
15
15
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
16
16
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17
- refs/heads/auto: e58c812f7761228281aaf3140e53cc2e9945760a
17
+ refs/heads/auto: 2d2ed075e3c549e8bb1980de26a106de965e51c8
Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ pub fn start_program(prog: &str, args: &[~str]) -> Program {
290
290
291
291
fn read_all ( rd : io:: Reader ) -> ~str {
292
292
let buf = io:: with_bytes_writer ( |wr| {
293
- let mut bytes = [ mut 0 , ..4096 ] ;
293
+ let mut bytes = [ 0 , ..4096 ] ;
294
294
while !rd. eof ( ) {
295
295
let nread = rd. read ( bytes, bytes. len ( ) ) ;
296
296
wr. write ( bytes. view ( 0 , nread) ) ;
@@ -391,7 +391,7 @@ pub fn readclose(fd: c_int) -> ~str {
391
391
let file = os:: fdopen ( fd) ;
392
392
let reader = io:: FILE_reader ( file, false ) ;
393
393
let buf = io:: with_bytes_writer ( |writer| {
394
- let mut bytes = [ mut 0 , ..4096 ] ;
394
+ let mut bytes = [ 0 , ..4096 ] ;
395
395
while !reader. eof ( ) {
396
396
let nread = reader. read ( bytes, bytes. len ( ) ) ;
397
397
writer. write ( bytes. view ( 0 , nread) ) ;
You can’t perform that action at this time.
0 commit comments