mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
clippy: Fix warnings in components/script
(#31700)
* Fix warnings: immediate dereferencing of references and unneeded statement * Fix warnings in Components/script
This commit is contained in:
parent
47a4ce467f
commit
8a6481c341
2 changed files with 6 additions and 6 deletions
|
@ -142,7 +142,7 @@ unsafe extern "C" fn get_own_property_descriptor(
|
|||
&mut *is_none,
|
||||
);
|
||||
}
|
||||
return true;
|
||||
true
|
||||
}
|
||||
|
||||
#[allow(unsafe_code)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue