reformat after clippy fix

This commit is contained in:
Brian Hicks 2024-04-09 17:20:24 -05:00
parent 135d6f8de7
commit b0f10468a1
No known key found for this signature in database
GPG Key ID: C4F324B9CAAB0D50

View File

@ -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),
}
}