Remove old_path usage from layout.

This commit is contained in:
Ms2ger 2015-03-25 22:36:01 +01:00
parent 06d3fc719c
commit b9c4ab6882
2 changed files with 1 additions and 3 deletions

View file

@ -126,7 +126,6 @@ pub fn end_trace() {
root_scope.post = json::encode(&flow::base(&*task_state.flow_root)).unwrap();
let result = json::encode(&root_scope).unwrap();
let path = Path::new("layout_trace.json");
let mut file = File::create(&path).unwrap();
let mut file = File::create("layout_trace.json").unwrap();
file.write_all(result.as_bytes()).unwrap();
}