mirror of
https://github.com/servo/servo.git
synced 2025-06-25 09:34:32 +01:00
Get rid of ~strs
This commit is contained in:
parent
fc4a13adf6
commit
10a1e8b109
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue