Skip to content

Commit 91b306c

Browse files
committed
---
yaml --- r: 22630 b: refs/heads/master c: 1e13626 h: refs/heads/master v: v3
1 parent 45462d8 commit 91b306c

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: bc03121d7e6491256651e91c843f05934f312e0c
2+
refs/heads/master: 1e13626caa058cec34ec643ff375355aec6ef151
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/libcore/io.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,8 +599,8 @@ fn buffered_file_writer(path: ~str) -> result<writer, ~str> {
599599
fn stdout() -> writer { fd_writer(libc::STDOUT_FILENO as c_int, false) }
600600
fn stderr() -> writer { fd_writer(libc::STDERR_FILENO as c_int, false) }
601601
602-
fn print(s: ~str) { stdout().write_str(s); }
603-
fn println(s: ~str) { stdout().write_line(s); }
602+
fn print(s: &str) { stdout().write_str(s); }
603+
fn println(s: &str) { stdout().write_line(s); }
604604
605605
type mem_buffer = @{buf: dvec<u8>, mut pos: uint};
606606

0 commit comments

Comments
 (0)