clippy: Fix a few clippy problems in components/scripts/dom (#31905)

* option_as_ref_deref

* fix
This commit is contained in:
Rosemary Ajayi 2024-03-28 12:24:39 +01:00 committed by GitHub
parent 1bc63801e7
commit 5aae820f6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 12 deletions

View file

@ -7,7 +7,6 @@
use std::default::Default;
use std::ffi::CString;
use std::mem::drop;
use std::ops::Deref;
use std::ptr;
use std::rc::Rc;