clean up unused names

This commit is contained in:
Brian Hicks 2024-04-24 21:46:08 -05:00
parent 509818ca68
commit 69149106fe
No known key found for this signature in database
GPG Key ID: C4F324B9CAAB0D50

View File

@ -68,11 +68,7 @@ impl Decl {
out.push('\n') out.push('\n')
} }
} }
Decl::TypeAlias { Decl::TypeAlias { name, type_, .. } => {
name,
discriminator,
type_,
} => {
out.push_str("type alias "); out.push_str("type alias ");
out.push_str(&name.to_pascal_case()?); out.push_str(&name.to_pascal_case()?);
out.push_str(" =\n "); out.push_str(" =\n ");
@ -180,7 +176,6 @@ impl Decl {
match &self { match &self {
Decl::CustomTypeEnum { Decl::CustomTypeEnum {
discriminator,
constructor_prefix, constructor_prefix,
cases, cases,
.. ..