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 @@ -585,19 +585,19 @@ impl ImportTracker {
585585 {
586586 continue ;
587587 }
588- if self . module_is_imported ( & module) {
588+ if self . module_is_imported ( module) {
589589 continue ;
590590 }
591591 missing. insert ( module) ;
592592 }
593593 missing
594594 }
595595
596- fn module_is_imported ( & self , module : & ModuleName ) -> bool {
596+ fn module_is_imported ( & self , module : ModuleName ) -> bool {
597597 self . alias_for ( module) . is_some ( ) || self . has_canonical ( module)
598598 }
599599
600- fn alias_for ( & self , module : & ModuleName ) -> Option < String > {
600+ fn alias_for ( & self , module : ModuleName ) -> Option < String > {
601601 let target = module. as_str ( ) ;
602602 for ( alias_module, alias_name) in & self . alias_modules {
603603 let alias_module_str = alias_module. as_str ( ) ;
@@ -618,7 +618,7 @@ impl ImportTracker {
618618 None
619619 }
620620
621- fn has_canonical ( & self , module : & ModuleName ) -> bool {
621+ fn has_canonical ( & self , module : ModuleName ) -> bool {
622622 let target = module. as_str ( ) ;
623623 self . canonical_modules . iter ( ) . any ( |imported| {
624624 let imported_str = imported. as_str ( ) ;
You can’t perform that action at this time.
0 commit comments