mirror of
https://github.com/BrianHicks/elm-duet.git
synced 2024-09-11 13:45:23 +03:00
reformat after clippy fix
This commit is contained in:
parent
135d6f8de7
commit
b0f10468a1
@ -23,12 +23,9 @@ impl TSType {
|
||||
Type::String => "string",
|
||||
_ => todo!("scalar: {type_:#?}"),
|
||||
}),
|
||||
Schema::Enum { enum_, .. } => Self::Union(
|
||||
enum_
|
||||
.into_iter()
|
||||
.map(Self::StringScalar)
|
||||
.collect(),
|
||||
),
|
||||
Schema::Enum { enum_, .. } => {
|
||||
Self::Union(enum_.into_iter().map(Self::StringScalar).collect())
|
||||
}
|
||||
_ => todo!("{:#?}", schema),
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user