diff options
author | Aleksey Kladov <[email protected]> | 2020-07-30 14:25:46 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-30 14:25:46 +0100 |
commit | eb2f8063444b11257111f4f8ade990ec810e0361 (patch) | |
tree | 999cef9fc647293699515f1e0ac59492e64c1116 /crates/ra_syntax/src/ast/edit.rs | |
parent | 1142112c70b705f59b7d559d9d72cdc831865158 (diff) |
Rename TypeAliasDef -> TypeAlias
Diffstat (limited to 'crates/ra_syntax/src/ast/edit.rs')
-rw-r--r-- | crates/ra_syntax/src/ast/edit.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/ast/edit.rs b/crates/ra_syntax/src/ast/edit.rs index 4a67fd44a..0110300af 100644 --- a/crates/ra_syntax/src/ast/edit.rs +++ b/crates/ra_syntax/src/ast/edit.rs | |||
@@ -192,9 +192,9 @@ impl ast::RecordFieldList { | |||
192 | } | 192 | } |
193 | } | 193 | } |
194 | 194 | ||
195 | impl ast::TypeAliasDef { | 195 | impl ast::TypeAlias { |
196 | #[must_use] | 196 | #[must_use] |
197 | pub fn remove_bounds(&self) -> ast::TypeAliasDef { | 197 | pub fn remove_bounds(&self) -> ast::TypeAlias { |
198 | let colon = match self.colon_token() { | 198 | let colon = match self.colon_token() { |
199 | Some(it) => it, | 199 | Some(it) => it, |
200 | None => return self.clone(), | 200 | None => return self.clone(), |