aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorAzhar Ismagulova <31756707+azharcodeit@users.noreply.github.com>2024-03-28 09:03:18 +0000
committerGitHub <noreply@github.com>2024-03-28 09:03:18 +0000
commitf18317078601afad18188f1bad0a33e59ba8303c (patch)
treed89ed580167d13c1e3a09e9f2860a2ab8ea2db7e /components/script/script_thread.rs
parenteccb60e548bf522c07546e3abfd55c9442181c6b (diff)
downloadservo-f18317078601afad18188f1bad0a33e59ba8303c.tar.gz
servo-f18317078601afad18188f1bad0a33e59ba8303c.zip
clippy: Fix all errors in `components/script` (#31911)
* clippy: Fix errors in components/script/dom * clippy: fixed remaining errors in components/script
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs2
1 files changed, 1 insertions, 1 deletions
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);
}