Skip to content

Commit a185343

Browse files
Do Nhat Minhemberian
authored andcommitted
misc help message fix
1 parent 1b10391 commit a185343

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustc/rustc.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Additional help:
136136

137137
pub fn describe_warnings() {
138138
use extra::sort::Sort;
139-
printfln!("
139+
println("
140140
Available lint options:
141141
-W <foo> Warn about <foo>
142142
-A <foo> Allow <foo>
@@ -157,7 +157,7 @@ Available lint options:
157157
fn padded(max: uint, s: &str) -> ~str {
158158
str::from_bytes(vec::from_elem(max - s.len(), ' ' as u8)) + s
159159
}
160-
printfln!("\nAvailable lint checks:\n");
160+
println("\nAvailable lint checks:\n");
161161
printfln!(" %s %7.7s %s",
162162
padded(max_key, "name"), "default", "meaning");
163163
printfln!(" %s %7.7s %s\n",
@@ -173,7 +173,7 @@ Available lint options:
173173
}
174174

175175
pub fn describe_debug_flags() {
176-
printfln!("\nAvailable debug options:\n");
176+
println("\nAvailable debug options:\n");
177177
let r = session::debugging_opts_map();
178178
for tuple in r.iter() {
179179
match *tuple {

0 commit comments

Comments
 (0)