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:
@@ -112,7 +112,7 @@ fn get_doc_link(db: &RootDatabase, definition: Definition) -> Option<String> {
|
||||
.as_assoc_item(db)
|
||||
.and_then(|assoc| match assoc.container(db) {
|
||||
AssocItemContainer::Trait(t) => Some(t.into()),
|
||||
AssocItemContainer::ImplDef(impld) => {
|
||||
AssocItemContainer::Impl(impld) => {
|
||||
impld.target_ty(db).as_adt().map(|adt| adt.into())
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user