We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2e9c23 commit 9acef18Copy full SHA for 9acef18
components/script/dom/bindings/root.rs
@@ -275,7 +275,6 @@ impl RootCollection {
275
unsafe fn unroot(&self, object: *const dyn JSTraceable) {
276
assert_in_script();
277
let roots = &mut *self.roots.get();
278
- #[allow(clippy::vtable_address_comparisons)]
279
match roots.iter().rposition(|r| std::ptr::eq(*r, object)) {
280
Some(idx) => {
281
roots.remove(idx);
0 commit comments