Fix more clippy (#32740)

This commit is contained in:
石蕊 (Pi-Cla) 2024-07-09 04:47:43 +00:00 committed by GitHub
parent 4e1f623666
commit f29dd64a7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 72 additions and 90 deletions

View file

@ -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);