mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
layout: to_string() -> into_string()
This commit is contained in:
parent
e9d1740e19
commit
c7dfb1d24b
5 changed files with 9 additions and 9 deletions
|
@ -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)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue