We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8fe840 commit 6b36ef5Copy full SHA for 6b36ef5
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: b2452896d195ce2e8409244e177e04c55cf8a75c
+refs/heads/master: 8bbe70c207482950585fd7d666cb2bf634fea52b
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
trunk/src/compiletest/procsrv.rs
@@ -106,7 +106,7 @@ fn readclose(fd: c_int) -> ~str {
106
let mut buf = ~"";
107
while !reader.eof() {
108
let bytes = reader.read_bytes(4096u);
109
- buf += str::from_bytes(bytes);
+ str::push_str(buf, str::from_bytes(bytes));
110
}
111
os::fclose(file);
112
return buf;
0 commit comments