diff options
author | Peter Mikola <mikopet@mikopet.dev> | 2024-06-11 19:50:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-11 17:50:21 +0000 |
commit | 3c06536cb67984d1f4822ea4cbf6618016b0e4ec (patch) | |
tree | 5335deaae8c3a5048660066d746b05fe9a85bc95 /components/net/fetch | |
parent | 55d067091c3ff472524ae23650b60baf2fa63026 (diff) | |
download | servo-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.rs | 2 |
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. |