Skip to content

Commit 135c85e

Browse files
author
Do Nhat Minh
committed
misc help message fix
1 parent bbda3fa commit 135c85e

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
@@ -137,7 +137,7 @@ Additional help:
137137

138138
pub fn describe_warnings() {
139139
use extra::sort::Sort;
140-
printfln!("
140+
println("
141141
Available lint options:
142142
-W <foo> Warn about <foo>
143143
-A <foo> Allow <foo>
@@ -158,7 +158,7 @@ Available lint options:
158158
fn padded(max: uint, s: &str) -> ~str {
159159
str::from_bytes(vec::from_elem(max - s.len(), ' ' as u8)) + s
160160
}
161-
printfln!("\nAvailable lint checks:\n");
161+
println("\nAvailable lint checks:\n");
162162
printfln!(" %s %7.7s %s",
163163
padded(max_key, "name"), "default", "meaning");
164164
printfln!(" %s %7.7s %s\n",
@@ -174,7 +174,7 @@ Available lint options:
174174
}
175175

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

0 commit comments

Comments
 (0)