mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Rename target_ty to self_ty
This commit is contained in:
parent
bb6e1bf811
commit
c2a63b97a8
16 changed files with 27 additions and 27 deletions
|
@ -214,7 +214,7 @@ fn get_doc_link(db: &RootDatabase, definition: Definition) -> Option<String> {
|
|||
.and_then(|assoc| match assoc.container(db) {
|
||||
AssocItemContainer::Trait(t) => Some(t.into()),
|
||||
AssocItemContainer::Impl(impld) => {
|
||||
impld.target_ty(db).as_adt().map(|adt| adt.into())
|
||||
impld.self_ty(db).as_adt().map(|adt| adt.into())
|
||||
}
|
||||
})
|
||||
.unwrap_or_else(|| f.clone().into()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue