mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Fix more clippy (#32740)
This commit is contained in:
parent
4e1f623666
commit
f29dd64a7b
25 changed files with 72 additions and 90 deletions
|
@ -578,7 +578,7 @@ impl ModuleTree {
|
|||
|
||||
let url = ModuleTree::resolve_module_specifier(
|
||||
*cx,
|
||||
&base_url,
|
||||
base_url,
|
||||
specifier.handle().into_handle(),
|
||||
);
|
||||
|
||||
|
@ -815,7 +815,7 @@ impl ModuleTree {
|
|||
|
||||
if incomplete_count_before_remove > 0 {
|
||||
parent_tree.remove_incomplete_fetch_url(&self.url);
|
||||
parent_tree.advance_finished_and_link(&global);
|
||||
parent_tree.advance_finished_and_link(global);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -831,7 +831,7 @@ impl ModuleTree {
|
|||
(None, None) => {
|
||||
let module_record = self.get_record().borrow();
|
||||
if let Some(record) = &*module_record {
|
||||
let instantiated = self.instantiate_module_tree(&global, record.handle());
|
||||
let instantiated = self.instantiate_module_tree(global, record.handle());
|
||||
|
||||
if let Err(exception) = instantiated {
|
||||
self.set_rethrow_error(exception);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue