mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Fixed some clippy warnings in components (#32025)
* Fixed some clippy warnings in components * Updated the simplification of bolean expressions in componets/script/dom/range.rs
This commit is contained in:
parent
245269c649
commit
89a4820519
6 changed files with 15 additions and 18 deletions
|
@ -1314,7 +1314,7 @@ impl ScriptFetchOptions {
|
|||
}
|
||||
|
||||
#[allow(unsafe_code)]
|
||||
unsafe fn module_script_from_reference_private<'a>(
|
||||
unsafe fn module_script_from_reference_private(
|
||||
reference_private: &RawHandle<JSVal>,
|
||||
) -> Option<&ModuleScript> {
|
||||
if reference_private.get().is_undefined() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue