File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ impl ModuleImports {
5050 continue ;
5151 }
5252
53- for resolved in Resolver :: new ( db) . resolve ( import) {
53+ for resolved in Resolver :: new ( db) . resolve ( & import) {
5454 if let Some ( path) = resolved. as_system_path ( ) {
5555 resolved_imports. insert ( path. to_path_buf ( ) ) ;
5656 }
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ impl<'a> Resolver<'a> {
1616 }
1717
1818 /// Resolve the [`CollectedImport`] into a [`FilePath`].
19- pub ( crate ) fn resolve ( & self , import : CollectedImport ) -> impl Iterator < Item = & ' a FilePath > {
19+ pub ( crate ) fn resolve ( & self , import : & CollectedImport ) -> impl Iterator < Item = & ' a FilePath > {
2020 let module_name = & import. module_name ;
2121 match import. import_kind {
2222 ImportKind :: Import => {
You can’t perform that action at this time.
0 commit comments