diff options
Diffstat (limited to 'src/components/main/layout/text.rs')
-rw-r--r-- | src/components/main/layout/text.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/main/layout/text.rs b/src/components/main/layout/text.rs index cf9d8f49bcc..525e6239320 100644 --- a/src/components/main/layout/text.rs +++ b/src/components/main/layout/text.rs @@ -50,7 +50,7 @@ pub trait UnscannedMethods { impl UnscannedMethods for RenderBox { fn raw_text(&self) -> ~str { match *self { - UnscannedTextRenderBoxClass(text_box) => copy text_box.text, + UnscannedTextRenderBoxClass(text_box) => text_box.text.clone(), _ => fail!(~"unsupported operation: box.raw_text() on non-unscanned text box."), } } |