fix clippy warning in components/script (#33878)

Signed-off-by: lwz23 <wenzhaoliao@ruc.edu.cn>
This commit is contained in:
lwz23 2024-10-17 08:58:28 -04:00 committed by GitHub
parent cd7b66be58
commit 595aab10dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 5 additions and 6 deletions

View file

@ -1687,7 +1687,7 @@ fn fetch_single_module_script(
document.loader_mut().fetch_async_with_callback(
LoadType::Script(url),
request,
network_listener.to_callback(),
network_listener.into_callback(),
);
},
None => global.fetch_with_network_listener(request, network_listener, None),