aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/fetch
diff options
context:
space:
mode:
authorPeter Mikola <mikopet@mikopet.dev>2024-06-11 19:50:21 +0200
committerGitHub <noreply@github.com>2024-06-11 17:50:21 +0000
commit3c06536cb67984d1f4822ea4cbf6618016b0e4ec (patch)
tree5335deaae8c3a5048660066d746b05fe9a85bc95 /components/net/fetch
parent55d067091c3ff472524ae23650b60baf2fa63026 (diff)
downloadservo-3c06536cb67984d1f4822ea4cbf6618016b0e4ec.tar.gz
servo-3c06536cb67984d1f4822ea4cbf6618016b0e4ec.zip
clippy: fix some leftover warnings in components/net (#32476)
Diffstat (limited to 'components/net/fetch')
-rw-r--r--components/net/fetch/methods.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/net/fetch/methods.rs b/components/net/fetch/methods.rs
index 1bf15eace4c..d69360f9be4 100644
--- a/components/net/fetch/methods.rs
+++ b/components/net/fetch/methods.rs
@@ -413,7 +413,7 @@ pub async fn main_fetch(
// Step 16.
if internal_response.url_list.is_empty() {
- internal_response.url_list = request.url_list.clone();
+ internal_response.url_list.clone_from(&request.url_list)
}
// Step 17.