Rename ImplDef -> Impl

We used to have `Def` suffix for all symbols, but we moved off from
that. `FunctionDef` isn't better than `Function`. Looks like we've
forgot to change `Impl` though!
This commit is contained in:
Aleksey Kladov 2020-12-17 14:36:15 +03:00
parent d641bccb0f
commit 2ae31e34b1
12 changed files with 31 additions and 31 deletions

View file

@ -245,7 +245,7 @@ impl ToNav for hir::Module {
}
}
impl ToNav for hir::ImplDef {
impl ToNav for hir::Impl {
fn to_nav(&self, db: &RootDatabase) -> NavigationTarget {
let src = self.source(db);
let derive_attr = self.is_builtin_derive(db);