Skip to content

Commit

Permalink
Get rid of ~strs
Browse files Browse the repository at this point in the history
  • Loading branch information
eholk committed Jul 26, 2012
1 parent fc4a13a commit 10a1e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/servo/parser/css_lexer.rs
Expand Up @@ -257,7 +257,7 @@ fn spawn_css_lexer_from_file(-filename: ~str) -> port<Token> {
let result_chan = chan(result_port);

task::spawn(|| {
assert (copy filename).ends_with(~".css");
assert filename.ends_with(".css");
let file_try = io::read_whole_file(filename);

// Check if the given css file existed, if it does, parse it,
Expand Down

0 comments on commit 10a1e8b

Please sign in to comment.