Rename GenericParam -> TypeParam

We don't have LifetimeParam yet, but they are planned!
This commit is contained in:
Aleksey Kladov
2019-12-07 20:09:53 +01:00
parent f4f8b81474
commit 88c5b1282a
18 changed files with 77 additions and 79 deletions

View File

@@ -351,7 +351,7 @@ impl ToNav for hir::Local {
}
}
impl ToNav for hir::GenericParam {
impl ToNav for hir::TypeParam {
fn to_nav(&self, db: &RootDatabase) -> NavigationTarget {
let src = self.source(db);
let range = match src.value {