diff options
author | Aleksey Kladov <[email protected]> | 2020-12-17 11:36:15 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-12-17 11:36:15 +0000 |
commit | 2ae31e34b1a345ceea23198a7e9e32e557cdbb4d (patch) | |
tree | b8849bc4765766dc43e92a12f52ab287680528f5 /crates/ide/src/runnables.rs | |
parent | d641bccb0ffec543fa444ba523e8d4b63078fa53 (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/runnables.rs')
-rw-r--r-- | crates/ide/src/runnables.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide/src/runnables.rs b/crates/ide/src/runnables.rs index 646f63704..96462a7b0 100644 --- a/crates/ide/src/runnables.rs +++ b/crates/ide/src/runnables.rs | |||
@@ -130,7 +130,7 @@ fn runnable_fn( | |||
130 | hir::AssocItemContainer::Trait(trait_item) => { | 130 | hir::AssocItemContainer::Trait(trait_item) => { |
131 | Some(trait_item.name(sema.db).to_string()) | 131 | Some(trait_item.name(sema.db).to_string()) |
132 | } | 132 | } |
133 | hir::AssocItemContainer::ImplDef(impl_def) => impl_def | 133 | hir::AssocItemContainer::Impl(impl_def) => impl_def |
134 | .target_ty(sema.db) | 134 | .target_ty(sema.db) |
135 | .as_adt() | 135 | .as_adt() |
136 | .map(|adt| adt.name(sema.db).to_string()), | 136 | .map(|adt| adt.name(sema.db).to_string()), |