Rename TypeAliasDef -> TypeAlias

This commit is contained in:
Aleksey Kladov 2020-07-30 15:25:46 +02:00
parent 1142112c70
commit eb2f806344
65 changed files with 146 additions and 155 deletions

View file

@ -192,9 +192,9 @@ impl ast::RecordFieldList {
}
}
impl ast::TypeAliasDef {
impl ast::TypeAlias {
#[must_use]
pub fn remove_bounds(&self) -> ast::TypeAliasDef {
pub fn remove_bounds(&self) -> ast::TypeAlias {
let colon = match self.colon_token() {
Some(it) => it,
None => return self.clone(),