mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
fix clippy warning in components/script (#33878)
Signed-off-by: lwz23 <wenzhaoliao@ruc.edu.cn>
This commit is contained in:
parent
cd7b66be58
commit
595aab10dc
5 changed files with 5 additions and 6 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue