mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
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:
parent
d641bccb0f
commit
2ae31e34b1
12 changed files with 31 additions and 31 deletions
|
@ -130,7 +130,7 @@ fn runnable_fn(
|
|||
hir::AssocItemContainer::Trait(trait_item) => {
|
||||
Some(trait_item.name(sema.db).to_string())
|
||||
}
|
||||
hir::AssocItemContainer::ImplDef(impl_def) => impl_def
|
||||
hir::AssocItemContainer::Impl(impl_def) => impl_def
|
||||
.target_ty(sema.db)
|
||||
.as_adt()
|
||||
.map(|adt| adt.name(sema.db).to_string()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue