From f18317078601afad18188f1bad0a33e59ba8303c Mon Sep 17 00:00:00 2001 From: Azhar Ismagulova <31756707+azharcodeit@users.noreply.github.com> Date: Thu, 28 Mar 2024 09:03:18 +0000 Subject: clippy: Fix all errors in `components/script` (#31911) * clippy: Fix errors in components/script/dom * clippy: fixed remaining errors in components/script --- components/script/script_thread.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/script/script_thread.rs') diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 960eb8a2e01..965e899c0f2 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -2548,7 +2548,7 @@ impl ScriptThread { let path_seg = format!("url({})", urls); let mut reports = vec![]; - reports.extend(get_reports(*self.get_cx(), path_seg)); + reports.extend(unsafe { get_reports(*self.get_cx(), path_seg) }); reports_chan.send(reports); } -- cgit v1.2.3