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:
Richard Dushime 2024-03-15 13:27:50 -04:00 committed by GitHub
parent 47a4ce467f
commit 8a6481c341
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View file

@ -142,7 +142,7 @@ unsafe extern "C" fn get_own_property_descriptor(
&mut *is_none,
);
}
return true;
true
}
#[allow(unsafe_code)]