diff options
Diffstat (limited to 'src/components/main/layout/construct.rs')
-rw-r--r-- | src/components/main/layout/construct.rs | 2 |
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); |