mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
clippy: Fix some clippy warnings in components/script
(#31843)
* deref on an immutable reference * fix deref on an immutable reference * fix deref on an immutable reference
This commit is contained in:
parent
97144ddf71
commit
3d10dbae32
3 changed files with 6 additions and 6 deletions
|
@ -92,7 +92,7 @@ impl WorkletGlobalScope {
|
|||
debug!("Evaluating Dom in a worklet.");
|
||||
rooted!(in (*GlobalScope::get_cx()) let mut rval = UndefinedValue());
|
||||
self.globalscope.evaluate_js_on_global_with_result(
|
||||
&*script,
|
||||
script,
|
||||
rval.handle_mut(),
|
||||
ScriptFetchOptions::default_classic_script(&self.globalscope),
|
||||
self.globalscope.api_base_url(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue