Skip to content

Commit 139f467

Browse files
committed
---
yaml --- r: 65486 b: refs/heads/master c: 1f27c63 h: refs/heads/master v: v3
1 parent 8095580 commit 139f467

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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: 72811669619c593249de876003ee2205710a8fcf
2+
refs/heads/master: 1f27c6306d9f376f9b629a98f8a57c2e43e59b41
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 18e3db7392d2d0697b7e27d6d986139960144d85
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9

trunk/src/librustpkg/util.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,15 +292,15 @@ fn pretty_message<'a>(msg: &'a str, prefix: &'a str, color: u8, out: @io::Writer
292292
out.write_line(msg);
293293
}
294294

295-
pub fn note(msg: ~str) {
295+
pub fn note(msg: &str) {
296296
pretty_message(msg, "note: ", term::color_green, io::stdout())
297297
}
298298

299-
pub fn warn(msg: ~str) {
299+
pub fn warn(msg: &str) {
300300
pretty_message(msg, "warning: ", term::color_yellow, io::stdout())
301301
}
302302

303-
pub fn error(msg: ~str) {
303+
pub fn error(msg: &str) {
304304
pretty_message(msg, "error: ", term::color_red, io::stdout())
305305
}
306306

0 commit comments

Comments
 (0)