diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-03-25 22:36:01 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-03-25 22:36:01 +0100 |
commit | b9c4ab6882f45d0a3179b04b3fccc1ae98edce4d (patch) | |
tree | 563fecc28451444004c1fa3dc84b9dcf7f6d691d /components/layout/layout_debug.rs | |
parent | 06d3fc719c58c8a798f8a8fc827ac47385b61c40 (diff) | |
download | servo-b9c4ab6882f45d0a3179b04b3fccc1ae98edce4d.tar.gz servo-b9c4ab6882f45d0a3179b04b3fccc1ae98edce4d.zip |
Remove old_path usage from layout.
Diffstat (limited to 'components/layout/layout_debug.rs')
-rw-r--r-- | components/layout/layout_debug.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/layout/layout_debug.rs b/components/layout/layout_debug.rs index 79bd12ce8a5..36a013161dc 100644 --- a/components/layout/layout_debug.rs +++ b/components/layout/layout_debug.rs @@ -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(); } |