mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
clippy: fix some leftover warnings in components/net (#32476)
This commit is contained in:
parent
55d067091c
commit
3c06536cb6
3 changed files with 20 additions and 9 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue