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(); } diff --git a/components/layout/lib.rs b/components/layout/lib.rs index a0498e2464f..d2a407a2a70 100644 --- a/components/layout/lib.rs +++ b/components/layout/lib.rs @@ -8,7 +8,6 @@ #![feature(core)] #![feature(int_uint)] #![feature(io)] -#![feature(old_path)] #![feature(plugin)] #![feature(rustc_private)] #![feature(std_misc)]