Skip to content

Commit ab3aab4

Browse files
committed
Fix clippy
1 parent a5d0b0b commit ab3aab4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

crates/rspack_core/src/build_chunk_graph/new_code_splitter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ impl CodeSplitter {
861861
});
862862

863863
let guard =
864-
self.outgoings_modules(&target_module, runtime, module_graph, &module_graph_cache);
864+
self.outgoings_modules(&target_module, runtime, module_graph, module_graph_cache);
865865
let (_, (outgoing_modules, blocks)) = guard.pair();
866866
let mut outgoing_modules = outgoing_modules.clone();
867867

crates/rspack_plugin_javascript/src/dependency/esm/esm_export_imported_specifier_dependency.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1422,8 +1422,8 @@ impl From<Option<UsedName>> for ValueKey {
14221422
impl AsContextDependency for ESMExportImportedSpecifierDependency {}
14231423

14241424
/// return (names, dependency_indices)
1425-
fn determine_export_assignments<'a>(
1426-
module_graph: &'a ModuleGraph,
1425+
fn determine_export_assignments(
1426+
module_graph: &ModuleGraph,
14271427
dependencies: &[DependencyId],
14281428
additional_dependency: Option<DependencyId>,
14291429
) -> (Vec<Atom>, Vec<usize>) {

crates/rspack_plugin_javascript/src/plugin/flag_dependency_exports_plugin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ impl<'a> FlagDependencyExportsState<'a> {
8383
self.process_dependencies_block(
8484
&module_id,
8585
&mut exports_specs_from_dependencies,
86-
&self.mg_cache,
86+
self.mg_cache,
8787
);
8888
self.mg_cache.unfreeze();
8989

0 commit comments

Comments
 (0)