Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Druue committed Jul 3, 2024
1 parent dc1be2a commit 5d25b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psl/parser-database/src/walkers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 5d25b91

Please sign in to comment.