Get rid of ~strs

This commit is contained in:
Eric Holk 2012-07-12 22:11:58 -07:00
parent fc4a13adf6
commit 10a1e8b109

View file

@ -257,7 +257,7 @@ fn spawn_css_lexer_from_file(-filename: ~str) -> port<Token> {
let result_chan = chan(result_port); let result_chan = chan(result_port);
task::spawn(|| { task::spawn(|| {
assert (copy filename).ends_with(~".css"); assert filename.ends_with(".css");
let file_try = io::read_whole_file(filename); let file_try = io::read_whole_file(filename);
// Check if the given css file existed, if it does, parse it, // Check if the given css file existed, if it does, parse it,