Skip to content

Commit 8cefcc0

Browse files
committed
Fix some warnings.
1 parent fb32ddf commit 8cefcc0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustpkg/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
use context::Ctx;
1414
use std::hashmap::HashMap;
15-
use std::{io, libc, os, result, run, str};
15+
use std::{io, libc, os, run, str};
1616
use extra::tempfile::mkdtemp;
1717
use std::run::ProcessOutput;
1818
use installed_packages::list_installed_packages;

src/libsyntax/ext/ifmt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ pub fn expand_syntax_ext(ecx: @ExtCtxt, sp: span,
685685
};
686686
cx.fmtsp = efmt.span;
687687
let fmt = expr_to_str(ecx, efmt,
688-
~"first argument to ifmt! must be a string literal.");
688+
"first argument to ifmt! must be a string literal.");
689689

690690
let mut err = false;
691691
do parse::parse_error::cond.trap(|m| {

0 commit comments

Comments
 (0)