File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -573,19 +573,19 @@ impl ImportTracker {
573573 {
574574 continue ;
575575 }
576- if self . module_is_imported ( & module) {
576+ if self . module_is_imported ( module) {
577577 continue ;
578578 }
579579 missing. insert ( module) ;
580580 }
581581 missing
582582 }
583583
584- fn module_is_imported ( & self , module : & ModuleName ) -> bool {
584+ fn module_is_imported ( & self , module : ModuleName ) -> bool {
585585 self . alias_for ( module) . is_some ( ) || self . has_canonical ( module)
586586 }
587587
588- fn alias_for ( & self , module : & ModuleName ) -> Option < String > {
588+ fn alias_for ( & self , module : ModuleName ) -> Option < String > {
589589 let target = module. as_str ( ) ;
590590 for ( alias_module, alias_name) in & self . alias_modules {
591591 let alias_module_str = alias_module. as_str ( ) ;
@@ -606,7 +606,7 @@ impl ImportTracker {
606606 None
607607 }
608608
609- fn has_canonical ( & self , module : & ModuleName ) -> bool {
609+ fn has_canonical ( & self , module : ModuleName ) -> bool {
610610 let target = module. as_str ( ) ;
611611 self . canonical_modules . iter ( ) . any ( |imported| {
612612 let imported_str = imported. as_str ( ) ;
You can’t perform that action at this time.
0 commit comments