Skip to content

Commit 50f6198

Browse files
committed
cleanup warnings from librusti
1 parent 9635b30 commit 50f6198

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librusti/rusti.rc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ fn record(mut repl: Repl, blk: &ast::blk, intr: @token::ident_interner) -> Repl
8080
let new_view_items = do with_pp(intr) |pp, writer| {
8181
for blk.node.view_items.each |view_item| {
8282
pprust::print_view_item(pp, *view_item);
83-
writer.write_line(~"");
83+
writer.write_line("");
8484
}
8585
};
8686

@@ -94,7 +94,7 @@ fn record(mut repl: Repl, blk: &ast::blk, intr: @token::ident_interner) -> Repl
9494
match stmt.node {
9595
ast::stmt_decl(*) | ast::stmt_mac(*) => {
9696
pprust::print_stmt(pp, *stmt);
97-
writer.write_line(~"");
97+
writer.write_line("");
9898
}
9999
ast::stmt_expr(expr, _) | ast::stmt_semi(expr, _) => {
100100
match expr.node {
@@ -415,7 +415,7 @@ pub fn main() {
415415
Some(line) => {
416416
if line.is_empty() {
417417
if istty {
418-
io::println(~"()");
418+
io::println("()");
419419
}
420420
loop;
421421
}

0 commit comments

Comments
 (0)