From 78f10fcdc41d5c58e386bc99a94b34a2bdbaa4cd Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 25 Feb 2019 13:38:52 +0300 Subject: rename type to type_alias in the AST as well --- crates/ra_hir/src/code_model_api.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'crates/ra_hir/src/code_model_api.rs') diff --git a/crates/ra_hir/src/code_model_api.rs b/crates/ra_hir/src/code_model_api.rs index 278407504..9a44aaa43 100644 --- a/crates/ra_hir/src/code_model_api.rs +++ b/crates/ra_hir/src/code_model_api.rs @@ -619,7 +619,10 @@ pub struct TypeAlias { } impl TypeAlias { - pub fn source(&self, db: &impl PersistentHirDatabase) -> (HirFileId, TreeArc) { + pub fn source( + &self, + db: &impl PersistentHirDatabase, + ) -> (HirFileId, TreeArc) { self.id.source(db) } -- cgit v1.2.3