Skip to content

Commit

Permalink
Clippy, again!!
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Dec 3, 2024
1 parent e923762 commit cdaac58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler-core/src/language_server/completer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down Expand Up @@ -723,7 +723,7 @@ where
&'a self,
importable_modules: &'a im::HashMap<EcoString, ModuleInterface>,
type_: Arc<Type>,
) -> Option<&HashMap<EcoString, RecordAccessor>> {
) -> Option<&'a HashMap<EcoString, RecordAccessor>> {
let type_ = collapse_links(type_);
match type_.as_ref() {
Type::Named {
Expand Down

0 comments on commit cdaac58

Please sign in to comment.