layout: to_string() -> into_string()

This commit is contained in:
Manish Goregaokar 2014-12-14 04:19:29 +05:30 committed by Ms2ger
parent e9d1740e19
commit c7dfb1d24b
5 changed files with 9 additions and 9 deletions

View file

@ -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)));