mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Rename ast::ImplBlock -> ast::ImplDef
This commit is contained in:
parent
f316e074d2
commit
a1e1869554
68 changed files with 216 additions and 224 deletions
|
@ -169,7 +169,7 @@ impl ast::UseTreeList {
|
|||
}
|
||||
}
|
||||
|
||||
impl ast::ImplBlock {
|
||||
impl ast::ImplDef {
|
||||
pub fn target_type(&self) -> Option<ast::TypeRef> {
|
||||
match self.target() {
|
||||
(Some(t), None) | (_, Some(t)) => Some(t),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue