Fix some warnings.

This commit is contained in:
Michael Sullivan 2013-08-09 16:07:26 -07:00
parent fb32ddf1a2
commit 8cefcc0ac5
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
use context::Ctx;
use std::hashmap::HashMap;
use std::{io, libc, os, result, run, str};
use std::{io, libc, os, run, str};
use extra::tempfile::mkdtemp;
use std::run::ProcessOutput;
use installed_packages::list_installed_packages;

View File

@ -685,7 +685,7 @@ pub fn expand_syntax_ext(ecx: @ExtCtxt, sp: span,
};
cx.fmtsp = efmt.span;
let fmt = expr_to_str(ecx, efmt,
~"first argument to ifmt! must be a string literal.");
"first argument to ifmt! must be a string literal.");
let mut err = false;
do parse::parse_error::cond.trap(|m| {