Skip to content

Commit

Permalink
fix: removed vtable_address_comparisons allow
Browse files Browse the repository at this point in the history
  • Loading branch information
azharcodeit committed Mar 31, 2024
1 parent f2e9c23 commit 9acef18
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion components/script/dom/bindings/root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,6 @@ impl RootCollection {
unsafe fn unroot(&self, object: *const dyn JSTraceable) {
assert_in_script();
let roots = &mut *self.roots.get();
#[allow(clippy::vtable_address_comparisons)]
match roots.iter().rposition(|r| std::ptr::eq(*r, object)) {
Some(idx) => {
roots.remove(idx);
Expand Down

0 comments on commit 9acef18

Please sign in to comment.