aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/display
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-12-17 11:36:15 +0000
committerAleksey Kladov <[email protected]>2020-12-17 11:36:15 +0000
commit2ae31e34b1a345ceea23198a7e9e32e557cdbb4d (patch)
treeb8849bc4765766dc43e92a12f52ab287680528f5 /crates/ide/src/display
parentd641bccb0ffec543fa444ba523e8d4b63078fa53 (diff)
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!
Diffstat (limited to 'crates/ide/src/display')
-rw-r--r--crates/ide/src/display/navigation_target.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide/src/display/navigation_target.rs b/crates/ide/src/display/navigation_target.rs
index ce0f4214c..54b33a98e 100644
--- a/crates/ide/src/display/navigation_target.rs
+++ b/crates/ide/src/display/navigation_target.rs
@@ -245,7 +245,7 @@ impl ToNav for hir::Module {
245 } 245 }
246} 246}
247 247
248impl ToNav for hir::ImplDef { 248impl ToNav for hir::Impl {
249 fn to_nav(&self, db: &RootDatabase) -> NavigationTarget { 249 fn to_nav(&self, db: &RootDatabase) -> NavigationTarget {
250 let src = self.source(db); 250 let src = self.source(db);
251 let derive_attr = self.is_builtin_derive(db); 251 let derive_attr = self.is_builtin_derive(db);