mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Rename TypeAliasDef -> TypeAlias
This commit is contained in:
parent
1142112c70
commit
eb2f806344
65 changed files with 146 additions and 155 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue