From cdaac58b7c6ccb4e2d47e342350a4a7a95fcb21e Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Tue, 3 Dec 2024 16:29:40 +0000 Subject: [PATCH] Clippy, again!! --- compiler-core/src/language_server/completer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler-core/src/language_server/completer.rs b/compiler-core/src/language_server/completer.rs index 78b31e830e4..554b8a50389 100644 --- a/compiler-core/src/language_server/completer.rs +++ b/compiler-core/src/language_server/completer.rs @@ -308,7 +308,7 @@ where } // Get all the modules that can be imported that have not already been imported. - fn completable_modules_for_import(&'a self) -> Vec<(&EcoString, &ModuleInterface)> { + fn completable_modules_for_import(&'a self) -> Vec<(&'a EcoString, &'a ModuleInterface)> { let mut direct_dep_packages: std::collections::HashSet<&EcoString> = std::collections::HashSet::from_iter( self.compiler.project_compiler.config.dependencies.keys(), @@ -723,7 +723,7 @@ where &'a self, importable_modules: &'a im::HashMap, type_: Arc, - ) -> Option<&HashMap> { + ) -> Option<&'a HashMap> { let type_ = collapse_links(type_); match type_.as_ref() { Type::Named {