aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/document_loader.rs
diff options
context:
space:
mode:
authorRustAndMetal <111676747+RustAndMetal@users.noreply.github.com>2024-03-18 09:33:43 +0100
committerGitHub <noreply@github.com>2024-03-18 08:33:43 +0000
commitf6a975fc58557b6267ead065a6025ba83ae27474 (patch)
treea148c1703a652d13cabb61fbb883c4045fcef853 /components/script/document_loader.rs
parent1ab8fa2895bd2339981e0be52591f38ad834ed21 (diff)
downloadservo-f6a975fc58557b6267ead065a6025ba83ae27474.tar.gz
servo-f6a975fc58557b6267ead065a6025ba83ae27474.zip
clippy: Fix several warnings (#31710)
Signed-off-by: RustAndMetal <111676747+RustAndMetal@users.noreply.github.com>
Diffstat (limited to 'components/script/document_loader.rs')
-rw-r--r--components/script/document_loader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/document_loader.rs b/components/script/document_loader.rs
index 3be77d7e31b..122b732cd65 100644
--- a/components/script/document_loader.rs
+++ b/components/script/document_loader.rs
@@ -86,7 +86,7 @@ impl DocumentLoader {
let initial_loads = initial_load.into_iter().map(LoadType::PageSource).collect();
DocumentLoader {
- resource_threads: resource_threads,
+ resource_threads,
blocking_loads: initial_loads,
events_inhibited: false,
cancellers: Vec::new(),