aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_debug.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-12-14 04:19:29 +0530
committerMs2ger <ms2ger@gmail.com>2014-12-27 14:48:36 +0100
commitc7dfb1d24b5cb802c6db01f410bef73c5dbb324a (patch)
treeebfb3be7eb50c4901e8bffb628be539af3663f41 /components/layout/layout_debug.rs
parente9d1740e19a82c5c91cc196c7c00ba57c56ec971 (diff)
downloadservo-c7dfb1d24b5cb802c6db01f410bef73c5dbb324a.tar.gz
servo-c7dfb1d24b5cb802c6db01f410bef73c5dbb324a.zip
layout: to_string() -> into_string()
Diffstat (limited to 'components/layout/layout_debug.rs')
-rw-r--r--components/layout/layout_debug.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/layout_debug.rs b/components/layout/layout_debug.rs
index 6e00a102bcc..a70dca58840 100644
--- a/components/layout/layout_debug.rs
+++ b/components/layout/layout_debug.rs
@@ -104,7 +104,7 @@ pub fn begin_trace(flow_root: FlowRef) {
let flow_trace = json::encode(&flow::base(flow_root.deref()));
let state = State {
- scope_stack: vec![box ScopeData::new("root".to_string(), flow_trace)],
+ scope_stack: vec![box ScopeData::new("root".into_string(), flow_trace)],
flow_root: flow_root,
};
state_key.replace(Some(RefCell::new(state)));