Skip to content

Commit 33d8a48

Browse files
committed
remove fn is_alias
1 parent 1f601cf commit 33d8a48

File tree

1 file changed

+0
-4
lines changed
  • crates/formality-types/src/grammar

1 file changed

+0
-4
lines changed

crates/formality-types/src/grammar/ty.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ impl Ty {
4040
}
4141
}
4242

43-
pub fn is_alias(&self) -> bool {
44-
matches!(self.data(), TyData::AliasTy(_))
45-
}
46-
4743
pub fn rigid(name: impl Upcast<RigidName>, parameters: impl Upcast<Vec<Parameter>>) -> Self {
4844
RigidTy {
4945
name: name.upcast(),

0 commit comments

Comments
 (0)