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