aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main/layout/construct.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-05-04 09:39:07 +0200
committerMs2ger <ms2ger@gmail.com>2014-05-04 09:39:07 +0200
commit25542e3f7ee34716b7aec67c3cf7c85f1adc1481 (patch)
tree75750d2a04c1a4934ce009c3de23bf363a5b796d /src/components/main/layout/construct.rs
parent660f7a016ee75a418afda9e92d45b79eff6ba540 (diff)
downloadservo-25542e3f7ee34716b7aec67c3cf7c85f1adc1481.tar.gz
servo-25542e3f7ee34716b7aec67c3cf7c85f1adc1481.zip
Replace most ~"string"s with "string".to_owned().
Diffstat (limited to 'src/components/main/layout/construct.rs')
-rw-r--r--src/components/main/layout/construct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/main/layout/construct.rs b/src/components/main/layout/construct.rs
index 46f5c5ef287..1191dd1f31b 100644
--- a/src/components/main/layout/construct.rs
+++ b/src/components/main/layout/construct.rs
@@ -667,7 +667,7 @@ impl<'a> FlowConstructor<'a> {
whitespace_style))
=> {
// Instantiate the whitespace box.
- let box_info = UnscannedTextBox(UnscannedTextBoxInfo::from_text(~" "));
+ let box_info = UnscannedTextBox(UnscannedTextBoxInfo::from_text(" ".to_owned()));
let fragment = Box::from_opaque_node_and_style(whitespace_node,
whitespace_style.clone(),
box_info);