mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Rename StructDef -> Struct
This commit is contained in:
parent
1ae4721c9c
commit
216a5344c8
63 changed files with 163 additions and 163 deletions
|
@ -57,8 +57,8 @@ impl HasSource for Field {
|
|||
}
|
||||
}
|
||||
impl HasSource for Struct {
|
||||
type Ast = ast::StructDef;
|
||||
fn source(self, db: &dyn HirDatabase) -> InFile<ast::StructDef> {
|
||||
type Ast = ast::Struct;
|
||||
fn source(self, db: &dyn HirDatabase) -> InFile<ast::Struct> {
|
||||
self.id.lookup(db.upcast()).source(db.upcast())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue