needless_lifetimes

This commit is contained in:
Johann Hemmann 2024-01-19 15:30:37 +01:00
parent 3839f9a9a2
commit a342e936e3
2 changed files with 1 additions and 2 deletions

View file

@ -509,7 +509,7 @@ impl Resolver {
.map(|id| ExternCrateDeclData::extern_crate_decl_data_query(db, id).name.clone())
}
pub fn extern_crates_in_scope<'a>(&'a self) -> impl Iterator<Item = (Name, ModuleId)> + 'a {
pub fn extern_crates_in_scope(&self) -> impl Iterator<Item = (Name, ModuleId)> + '_ {
self.module_scope
.def_map
.extern_prelude()