aboutsummaryrefslogtreecommitdiffstats
path: root/src/servo/parser/html_builder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/servo/parser/html_builder.rs')
-rw-r--r--src/servo/parser/html_builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/servo/parser/html_builder.rs b/src/servo/parser/html_builder.rs
index 79f006e53fa..49a38959268 100644
--- a/src/servo/parser/html_builder.rs
+++ b/src/servo/parser/html_builder.rs
@@ -159,7 +159,7 @@ fn build_dom(scope: NodeScope, stream: port<Token>) -> (Node, port<Stylesheet>)
alt elmt.get_attr("href") {
some(filename) {
#debug["Linking to a css sheet named: %s", filename];
- style_chan.send(file(~copy filename));
+ style_chan.send(file(copy filename));
}
none { /* fall through*/ }
}