mirror of
https://github.com/BrianHicks/elm-duet.git
synced 2024-09-19 17:37:49 +03:00
clean up unused names
This commit is contained in:
parent
509818ca68
commit
69149106fe
@ -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,
|
||||||
..
|
..
|
||||||
|
Loading…
Reference in New Issue
Block a user