From 5d25b914d7746529651180c7082ab6aef1410fbf Mon Sep 17 00:00:00 2001 From: Sophie Atkins Date: Wed, 3 Jul 2024 05:20:07 +0200 Subject: [PATCH] clippy --- psl/parser-database/src/walkers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psl/parser-database/src/walkers.rs b/psl/parser-database/src/walkers.rs index cab1f536a7d0..dd8cf2504eae 100644 --- a/psl/parser-database/src/walkers.rs +++ b/psl/parser-database/src/walkers.rs @@ -76,7 +76,7 @@ impl crate::ParserDatabase { } /// Find the datasource by name. - pub fn find_source<'db>(&'db self, name: &str) -> Option<(FileId, ast::TopId)> { + pub fn find_source(&self, name: &str) -> Option<(FileId, ast::TopId)> { self.interner .lookup(name) .and_then(|name_id| self.names.datasources.get(&name_id))