Skip to content

Commit

Permalink
Remove deprecated remove function (#31213)
Browse files Browse the repository at this point in the history
  • Loading branch information
Taym95 committed Jan 30, 2024
1 parent 2fbb120 commit 9b6c473
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/script/script_module.rs
Expand Up @@ -280,7 +280,9 @@ impl ModuleTree {
}

pub fn remove_incomplete_fetch_url(&self, dependency: ServoUrl) {
self.incomplete_fetch_urls.borrow_mut().remove(&dependency);
self.incomplete_fetch_urls
.borrow_mut()
.shift_remove(&dependency);
}

/// recursively checks if all of the transitive descendants are
Expand Down

0 comments on commit 9b6c473

Please sign in to comment.