aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_runtime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/script_runtime.rs')
-rw-r--r--components/script/script_runtime.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/script_runtime.rs b/components/script/script_runtime.rs
index 28a7a83ea3f..1e975874253 100644
--- a/components/script/script_runtime.rs
+++ b/components/script/script_runtime.rs
@@ -701,8 +701,8 @@ pub fn get_reports(cx: *mut RawJSContext, path_seg: String) -> Vec<Report> {
let mut path = path![path_seg, "js"];
path.append(&mut path_suffix);
reports.push(Report {
- path: path,
- kind: kind,
+ path,
+ kind,
size: size as usize,
})
};