File tree 2 files changed +3
-3
lines changed
crates/rspack_binding_values/src 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ impl DependencyDTO {
15
15
}
16
16
}
17
17
18
- fn dependency < ' a > ( & self , module_graph : & ' a ModuleGraph ) -> & ' a Box < dyn Dependency > {
18
+ fn dependency < ' a > ( & self , module_graph : & ' a ModuleGraph ) -> & ' a dyn Dependency {
19
19
module_graph
20
20
. dependency_by_id ( & self . dependency_id )
21
21
. unwrap_or_else ( || panic ! ( "Failed to get dependency by id = {:?}" , & self . dependency_id) )
@@ -25,7 +25,7 @@ impl DependencyDTO {
25
25
& self ,
26
26
module_graph : & ' a ModuleGraph ,
27
27
) -> Option < & ' a dyn ModuleDependency > {
28
- self . dependency ( & module_graph) . as_module_dependency ( )
28
+ self . dependency ( module_graph) . as_module_dependency ( )
29
29
}
30
30
}
31
31
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ impl ModuleDTO {
82
82
}
83
83
}
84
84
85
- fn module ( & self ) -> & Box < dyn Module > {
85
+ fn module ( & self ) -> & dyn Module {
86
86
self
87
87
. compilation
88
88
. module_by_identifier ( & self . module_id )
You can’t perform that action at this time.
0 commit comments